ID2D1Properties::GetType(U) method

Gets the D2D1_PROPERTY_TYPE of the selected property. This is a template overload. See Remarks.

Syntax


D2D1_PROPERTY_TYPE GetType(
  U index
) const;

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

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

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Properties
D2D1_PROPERTY_TYPE
D2D1_PROPERTY
D2D1_SUBPROPERTY

 

 

Community Additions

ADD
Show:
© 2014 Microsoft