Table of Contents

Method GetAttributeValueRef

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

GetAttributeValueRef(string, Type)

Gets an attribute of this element as an object reference.

IObjectRef GetAttributeValueRef(string name, Type interfaceType)

Parameters

name string
interfaceType Type

Returns

IObjectRef

The value of the attribute.

Remarks

Throws an exception if the attribute is not specified.
Throws an exception if the attribute name is not valid on this element.
Throws an exception if the attribute cannot be expressed as the specified interface type.