[]
Gets the value of the specified property by index.
public T GetValue<T>(int index, PropertyType type) where T : struct
Type | Name | Description |
---|---|---|
int | index | The index of the property from which the data is to be obtained. |
PropertyType | type | Property type. |
Type | Description |
---|---|
T | The value of the specified property by index. |
Name | Description |
---|---|
T |
Gets the value of the specified property by name.
public T GetValue<T>(string name, PropertyType type) where T : struct
Type | Name | Description |
---|---|---|
string | name | The name of the property. |
PropertyType | type | Property type. |
Type | Description |
---|---|
T | The value of the specified property by name. |
Name | Description |
---|---|
T |
HRESULT ID2D1Properties::GetValue([In] unsigned int index,[In] D2D1_PROPERTY_TYPE type,[Out, Buffer] void* data,[In] unsigned int dataSize)
public void GetValue(int index, PropertyType type, IntPtr data, int dataSize)
Type | Name | Description |
---|---|---|
int | index | |
PropertyType | type | |
IntPtr | data | |
int | dataSize |