DelegatingXmlDictionaryReader::GetAttribute Method (String^, String^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Gets the value of the attribute with the given name and namespace Uri.

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public:
virtual String^ GetAttribute(
	String^ name,
	String^ namespaceURI
) override

Parameters

name
Type: System::String^

The local name of the attribute.

namespaceURI
Type: System::String^

The namespace of the attribute.

Return Value

Type: System::String^

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

The method does not move the reader.

.NET Framework
Available since 4.5
Return to top
Show: