ID2D1SvgElement::RemoveAttribute method (d2d1svg.h)

Removes the attribute from this element. Also removes this attribute from within an inline style if present.

Syntax

HRESULT RemoveAttribute(
  [in] PCWSTR name
);

Parameters

[in] name

Type: PCWSTR

The name of the attribute to remove.

Return value

Type: HRESULT

This method returns an HRESULT success or error code. Returns an error if the attribute name is not valid on this element.

Requirements

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

See also

ID2D1SvgElement