Gets the value of the attribute with the given name and namespace Uri.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryReader
Dim name As String
Dim namespaceURI As String
Dim returnValue As String

returnValue = instance.GetAttribute(name, namespaceURI)

Syntax

Visual Basic
Public Overrides Function GetAttribute ( _
		name As String, _
		namespaceURI As String _
) As String
C#
public override string GetAttribute (
		string name,
		string namespaceURI
)
C++
public:
virtual String^ GetAttribute (
		String^ name, 
		String^ namespaceURI
) override
J#
public String GetAttribute (
		String name, 
		String namespaceURI
)
JScript
public override function GetAttribute (
		name : String, 
		namespaceURI : String
) : String

Parameters

name

The local name of the attribute.

namespaceURI

The namespace of the attribute.

Return Value

The value of the attribute. If the attribute is not found null is returned.

Remarks

The method does not move the reader.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also