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






i
The index of the attribute. The index is zero-based. (The first attribute has index 0.)
Gets the value of the attribute with the specified index.

Syntax

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

Parameters

i
The index of the attribute. The index is zero-based. (The first attribute has index 0.)

Return Value

The value of the specified attribute. This method does not move the reader.

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException i is out of range. Must be non-negative and less than the size of the attribute collection.

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.