Intersoft ClientUI Documentation
MoveToAttribute(String,String) Method
See Also  Send Feedback
Intersoft.Client.Documents Namespace > XPSParser Class > MoveToAttribute Method : MoveToAttribute(String,String) Method






name
The local name of the attribute.
ns
The namespace URI of the attribute.
Moves to the attribute with the specified System.Xml.XmlReader.LocalName and System.Xml.XmlReader.NamespaceURI.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function MoveToAttribute( _
   ByVal name As String, _
   ByVal ns As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As XPSParser
Dim name As String
Dim ns As String
Dim value As Boolean
 
value = instance.MoveToAttribute(name, ns)
C# 
public override bool MoveToAttribute( 
   string name,
   string ns
)
Delphi 
public function MoveToAttribute( 
    name: String;
    ns: String
): Boolean; override; 
JScript 
public override function MoveToAttribute( 
   name : String,
   ns : String
) : boolean;
Managed Extensions for C++ 
public: bool MoveToAttribute( 
   string* name,
   string* ns
) override 
C++/CLI 
public:
bool MoveToAttribute( 
   String^ name,
   String^ ns
) override 

Parameters

name
The local name of the attribute.
ns
The namespace URI of the attribute.

Return Value

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

Exceptions

ExceptionDescription
System.NullReferenceException The name value is null.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.