ID2D1Properties::GetPropertyNameLength(U) method (d2d1_1.h)
Gets the number of characters for the given property name. This is a template overload. See Remarks.
UINT32 GetPropertyNameLength(
U index
);
index
Type: U
The index of the property name to retrieve.
Type: UINT32
This method returns the size in characters of the name corresponding to the given property index, or zero if the property index does not exist.
The value returned by this method can be used to ensure that the buffer size for GetPropertyName is appropriate.
template<typename U> UINT32 GetPropertyNameLength( U index ) CONST;
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1_1.h |
Library | D2d1.lib |
DLL | D2d1.dll |