GetValueByName(PCWSTR) method

ID2D1Properties::GetValueByName(PCWSTR) method

Gets the property value by name. This is a template overload. See Remarks.

Syntax


T GetValueByName(
  [in] PCWSTR propertyName
) const;

Parameters

propertyName [in]

Type: PCWSTR

The property name to get.

Return value

Type: T

Returns the value requested.

Remarks

If propertyName does not exist, no information is retrieved.

Any error not in the standard set returned by a property implementation will be mapped into the standard error range.


    template<typename T>
    T GetValueByName(
        _In_ PCWSTR propertyName
        ) 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
ID2D1DeviceContext::CreateEffect

 

 

Community Additions

ADD
Show:
© 2016 Microsoft