This document is archived and information here might be outdated. Recommended version. |
Replaces existing metadata with the content defined in the XML.
[Visual Basic .NET]
Public Sub SetXml ( _
ByVal xml As String _
)
[C#]
public void SetXml (
string xml
);
[C++]
HRESULT SetXml(
BSTR xml
);
[C++] Parameters xml [in]
xml is a parameter of type BSTR
The SetXML method replaces the entire metadata document with the Xml string supplied in the XML parameter.
To target specific XML elements, the SetPropertyX method should be used.