共用方式為


Saml2Serializer.ReadAttribute(XmlDictionaryReader) Method

Definition

Reads a Saml2Attribute.

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

Parameters

reader
XmlDictionaryReader

An XmlReader positioned at a Saml2Attribute element.

Returns

A Saml2Attribute instance.

Exceptions

If 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