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 (Int32, String)

Sets the value of the attribute with the specified index.

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

Parameters

i
The index of the attribute.
value
[To be supplied.]

Return Value

The value of the specified attribute.

Exceptions

Exception Type Condition
IndexOutOfRangeException The i parameter is less than 0 or greater than AttributeCount.

See Also

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