MetadataSerializer.ReadAttribute(XmlReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.