共用方式為


Saml2SecurityTokenHandler.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

要用來寫入資料的 XmlWriter

data
Saml2Attribute

要寫入的資料。

例外狀況

datanull

-或-

writernull

適用於