ID2D1Properties::GetPropertyIndex method
Gets the index corresponding to the given property name.
Syntax
UINT32 GetPropertyIndex( [in] PCWSTR name ) const;
Parameters
- name [in]
-
Type: PCWSTR
The name of the property to retrieve.
Return value
Type: UINT32
The index of the corresponding property name.
Remarks
If the property does not exist, this method returns D2D1_INVALID_PROPERTY_INDEX. This reserved value will never map to a valid index and will cause NULL or sentinel values to be returned from other parts of the property interface.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
DLL |
|
See also