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!

DataDocumentNavigator.SetAttribute (Int32, String)

Sets the value of the attribute with the specified index.

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

Parameters

i
The index of the attribute.
value
The value to set for the attribute.

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

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