Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
When overridden in a derived class, moves to the attribute with the specified LocalName and NamespaceURI.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Syntax
'Declaration
Public Overridable Function MoveToAttribute ( _
localName As String, _
namespaceURI As String _
) As Boolean
public virtual bool MoveToAttribute(
string localName,
string namespaceURI
)
public:
virtual bool MoveToAttribute(
String^ localName,
String^ namespaceURI
)
abstract MoveToAttribute :
localName:string *
namespaceURI:string -> bool
override MoveToAttribute :
localName:string *
namespaceURI:string -> bool
public function MoveToAttribute(
localName : String,
namespaceURI : String
) : boolean
Parameters
- localName
Type: System. . :: . .String
The local name of the attribute.
- namespaceURI
Type: System. . :: . .String
The namespace URI of the attribute.
Return Value
Type: System. . :: . .Boolean
true if the attribute is found; otherwise, false. If false, the reader's position does not change.
Remarks
After calling MoveToAttribute, the Name, NamespaceURI, and Prefix properties reflect the properties of that attribute.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.