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 Name.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Syntax
'Declaration
Public Overridable Function MoveToAttribute ( _
name As String _
) As Boolean
public virtual bool MoveToAttribute(
string name
)
public:
virtual bool MoveToAttribute(
String^ name
)
abstract MoveToAttribute :
name:string -> bool
override MoveToAttribute :
name:string -> bool
public function MoveToAttribute(
name : String
) : boolean
Parameters
- name
Type: System. . :: . .String
The qualified name 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.