Intersoft ClientUI Documentation
GetAttribute(Int32) Method



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
Public Overloads Overrides Function GetAttribute( _
   ByVal i As Integer _
) As String
Dim instance As XPSParser
Dim i As Integer
Dim value As String
 
value = instance.GetAttribute(i)
public override string GetAttribute( 
   int i
)
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XPSParser Class
XPSParser Members
Overload List

Send Feedback