Share via


SamlSerializer.ReadAttribute(XmlDictionaryReader) Method

Definition

Reads the <saml:Attribute> element.

public virtual Microsoft.IdentityModel.Tokens.Saml.SamlAttribute ReadAttribute (System.Xml.XmlDictionaryReader reader);
abstract member ReadAttribute : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml.SamlAttribute
override this.ReadAttribute : System.Xml.XmlDictionaryReader -> Microsoft.IdentityModel.Tokens.Saml.SamlAttribute
Public Overridable Function ReadAttribute (reader As XmlDictionaryReader) As SamlAttribute

Parameters

reader
XmlDictionaryReader

An XmlReader positioned at a SamlAttribute element.

Returns

A SamlAttribute instance.

Remarks

The default implementation requires that the content of the Attribute element be a simple string. To handle complex content or content of declared simple types other than xs:string, override this method.

Applies to