ID2D1SvgElement::GetSpecifiedAttributeName method (d2d1svg.h)

Gets the name of the attribute at the given index.

Syntax

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

Parameters

index

Type: UINT32

The index of the attribute.

[out] name

Type: PWSTR

Outputs the name of the attribute.

nameCount

Type: UINT32

Length of the string returned in the name argument.

[out, optional] inherited

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

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgElement