Edit

Share via


MetadataSerializer.ReadAttribute(XmlReader) Method

Definition

Reads the <saml:Attribute> element.

protected:
 virtual System::IdentityModel::Tokens::Saml2Attribute ^ ReadAttribute(System::Xml::XmlReader ^ reader);
protected virtual System.IdentityModel.Tokens.Saml2Attribute ReadAttribute (System.Xml.XmlReader reader);
abstract member ReadAttribute : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2Attribute
override this.ReadAttribute : System.Xml.XmlReader -> System.IdentityModel.Tokens.Saml2Attribute
Protected Overridable Function ReadAttribute (reader As XmlReader) As Saml2Attribute

Parameters

reader
XmlReader

The XML reader.

Returns

The Saml2 attribute.

Exceptions

reader is null.

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