Share via


Saml2Serializer.WriteAttribute(XmlWriter, Saml2Attribute) Method

Definition

Writes the <saml:Attribute> element.

public virtual void WriteAttribute (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute attribute);
abstract member WriteAttribute : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute -> unit
override this.WriteAttribute : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute -> unit
Public Overridable Sub WriteAttribute (writer As XmlWriter, attribute As Saml2Attribute)

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2Attribute.

attribute
Saml2Attribute

The Saml2Attribute to serialize.

Exceptions

if attribute is null.

Applies to