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

属性值

选中对象的根名称。

适用于