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






name
The qualified name of the attribute.
Gets the value of the attribute with the specified System.Xml.XmlReader.Name.

Syntax

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

Parameters

name
The qualified name of the attribute.

Return Value

The value of the specified attribute. If the attribute is not found or the value is String.Empty, null is returned.

Exceptions

ExceptionDescription
System.ArgumentNullException name 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.