Noemax FastInfoset.NET
GetAttribute(String,String) Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > GetAttribute Method : GetAttribute(String,String) Method






name
The local name of the attribute.
namespaceURI
The namespace URI of the attribute.
Gets the value of an attribute.

Syntax

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

Parameters

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

Return Value

The value of the specified attribute.

See Also