ID2D1Properties::GetPropertyCount method (d2d1_1.h)

Gets the number of top-level properties.

Syntax

UINT32 GetPropertyCount();

Return value

Type: UINT32

This method returns the number of custom (non-system) properties that can be accessed by the object.

Remarks

This method returns the number of custom properties on the ID2D1Properties interface. System properties and sub-properties are part of a closed set, and are enumerable by iterating over this closed set.

Requirements

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
DLL D2d1.dll

See also

ID2D1DeviceContext::CreateEffect

ID2D1Properties