ID2D1SvgElement::GetSpecifiedAttributeName method

Gets the name of the attribute at the given index.

Syntax


HRESULT GetSpecifiedAttributeName(
                  UINT32 index,
  [out]           PWSTR  name,
                  UINT32 nameCount,
  [out, optional] BOOL   *inherited = NULL
);

Parameters

index

Type: UINT32

The index of the attribute.

name [out]

Type: PWSTR

Outputs the name of the attribute.

nameCount

Type: UINT32

Length of the string returned in the name argument.

inherited [out, optional]

Type: BOOL*

Outputs whether the attribute is set to the inherit value.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgElement

 

 

Show: