Table of Contents

Method SetAttribute

Namespace
SharpVectors.Dom
Assembly
SharpVectors.Core.dll

SetAttribute(string, string)

Sets the value of the attribute with the specified name.

void SetAttribute(string name, string value)

Parameters

name string

The name of the attribute to create or alter. This is a qualified name. If the name contains a colon it is parsed into prefix and local name components.

value string

The value to set for the attribute.

SetAttribute(string, string, string)

Sets the value of the attribute with the specified local name and namespace URI.

string SetAttribute(string qualifiedName, string namespaceURI, string value)

Parameters

qualifiedName string

The local name of the attribute.

namespaceURI string

The namespace URI of the attribute.

value string

The value to set for the attribute.

Returns

string

The attribute value.