DataObject.LoadXml(XmlElement) 方法
定义
从 XML 元素加载 DataObject 状态。Loads a DataObject state from an XML element.
public:
void LoadXml(System::Xml::XmlElement ^ value);
public void LoadXml (System.Xml.XmlElement value);
member this.LoadXml : System.Xml.XmlElement -> unit
Public Sub LoadXml (value As XmlElement)
参数
- value
- XmlElement
要从其加载 DataObject 状态的 XML 元素。The XML element to load the DataObject state from.
例外
来自该 XML 元素的值为 null。The value from the XML element is null.
注解
此方法可用于将其他 XML 元素添加到 DataObject 对象。This method can be used to add additional XML elements to a DataObject object.