共用方式為


DataContractSerializerSettings.RootName 屬性

定義

取得或設定所選取物件的根名稱。

public:
 property System::Xml::XmlDictionaryString ^ RootName { System::Xml::XmlDictionaryString ^ get(); void set(System::Xml::XmlDictionaryString ^ value); };
public System.Xml.XmlDictionaryString RootName { get; set; }
public System.Xml.XmlDictionaryString? RootName { get; set; }
member this.RootName : System.Xml.XmlDictionaryString with get, set
Public Property RootName As XmlDictionaryString

屬性值

所選物件的根名稱。

適用於