ID2D1Properties::GetType(U) method (d2d1_1.h)

Gets the D2D1_PROPERTY_TYPE of the selected property.

This is a template overload. See Remarks.

Syntax

D2D1_PROPERTY_TYPE GetType(
  U index
);

Parameters

index

Type: U

The index of the property for which the type will be retrieved.

Return value

Type: D2D1_PROPERTY_TYPE

This method returns a D2D1_PROPERTY_TYPE-typed value for the type of the selected property.

Remarks

If the property does not exist, the method returns D2D1_PROPERTY_TYPE_UNKNOWN.

template<typename U>
    D2D1_PROPERTY_TYPE GetType(
        U index
        ) CONST;

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

See also

D2D1_PROPERTY

D2D1_PROPERTY_TYPE

D2D1_SUBPROPERTY

ID2D1Properties