語言

MetadataSerializer.WriteAttribute(XmlWriter, Saml2Attribute) 方法

定義

會寫入 <saml:Attribute> 元素。

protected:
 virtual void WriteAttribute(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2Attribute ^ data);
protected virtual void WriteAttribute(System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2Attribute data);
abstract member WriteAttribute : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2Attribute -> unit
override this.WriteAttribute : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2Attribute -> unit
Protected Overridable Sub WriteAttribute (writer As XmlWriter, data As Saml2Attribute)

參數

writer
XmlWriter

XML 編寫者。

data
Saml2Attribute

Saml2 屬性。

例外狀況

writer 是 null。

-或-

data 是 null。

適用於