NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNavigator.SetAttribute (String, String, String)

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

[Visual Basic]
Overloads MustOverride Public Sub SetAttribute( _
   ByVal localName As String, _
   ByVal namespaceURI As String, _
   ByVal value As String _
)
[C#]
public abstract void SetAttribute(
   string localName,
   string namespaceURI,
   string value
);
[C++]
public: virtual void SetAttribute(
   String* localName,
   String* namespaceURI,
   String* value
) = 0;
[JScript]
public abstract function SetAttribute(
   localName : String,
   namespaceURI : String,
   value : String
);

Parameters

localName
The name of the attribute. The name can include the prefix or leave it off.
namespaceURI
The URN of the namespace of the attribute.
value
The value to set for the attribute.

Remarks

This name does may or may not include the prefix. For example:

[C#]

xti.SetAttribute("xmlns:x",null, nsuri);

See Also

XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace | XmlNavigator.SetAttribute Overload List