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 );
The value of the specified attribute.
Exception Type | Condition |
---|---|
IndexOutOfRangeException | The i parameter is less than 0 or greater than AttributeCount. |
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace | XmlNavigator.SetAttribute Overload List