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

Usage

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

returnValue = instance.GetAttribute(name)

Syntax

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

Parameters

name

The qualified name 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 position.


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