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.MoveToAttribute (String)

Moves to the attribute with the specified name.

[Visual Basic]
Overloads Overrides Public Function MoveToAttribute( _
   ByVal name As String _
) As Boolean
[C#]
public override bool MoveToAttribute(
   string name
);
[C++]
public: override bool MoveToAttribute(
   String* name
);
[JScript]
public override function MoveToAttribute(
   name : String
) : Boolean;

Parameters

name
The name of the attribute. The name can include the prefix or leave it off.

Return Value

true if the attribute is found; otherwise, false. If false, the DocumentNavigator's position does not change.

Exceptions

Exception Type Condition
ArgumentException The attribute specified by name cannot be found in the current node.

Remarks

If you are positioned on an attribute, this method will do an implicit MoveToElement before processing this method.

See Also

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