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!

DocumentNavigator.MoveToAttribute (String, String)

Move to the attribute with matching name and namespace.

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

Parameters

localName
The name of the attribute.
namespaceURI
The URN of the namespace of the attribute.

Return Value

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

Remarks

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

See Also

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