共用方式為


MetadataSerializer.WriteLocalizedName 方法

定義

寫入當地語系化名稱。

protected:
 virtual void WriteLocalizedName(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::LocalizedName ^ name, System::Xml::XmlQualifiedName ^ element);
protected virtual void WriteLocalizedName (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.LocalizedName name, System.Xml.XmlQualifiedName element);
abstract member WriteLocalizedName : System.Xml.XmlWriter * System.IdentityModel.Metadata.LocalizedName * System.Xml.XmlQualifiedName -> unit
override this.WriteLocalizedName : System.Xml.XmlWriter * System.IdentityModel.Metadata.LocalizedName * System.Xml.XmlQualifiedName -> unit
Protected Overridable Sub WriteLocalizedName (writer As XmlWriter, name As LocalizedName, element As XmlQualifiedName)

參數

writer
XmlWriter

XML 寫入器。

name
LocalizedName

當地語系化名稱。

element
XmlQualifiedName

XML 限定名稱。

例外狀況

writernull

-或-

namenull

-或-

elementnull

適用於