共用方式為


MetadataSerializer.WriteContactPerson(XmlWriter, ContactPerson) 方法

定義

寫入連絡人。

protected:
 virtual void WriteContactPerson(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::ContactPerson ^ contactPerson);
protected virtual void WriteContactPerson (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.ContactPerson contactPerson);
abstract member WriteContactPerson : System.Xml.XmlWriter * System.IdentityModel.Metadata.ContactPerson -> unit
override this.WriteContactPerson : System.Xml.XmlWriter * System.IdentityModel.Metadata.ContactPerson -> unit
Protected Overridable Sub WriteContactPerson (writer As XmlWriter, contactPerson As ContactPerson)

參數

writer
XmlWriter

XML 寫入器。

contactPerson
ContactPerson

連絡人。

例外狀況

writernull

-或-

contactPersonnull

-或-

contactPersonEmailAddresses 屬性為 null

-或-

contactPersonTelephoneNumbers 屬性為 null

適用於