IVsSettingsWriter.WriteSettingXml(Object) 方法

定义

将 XML 对象的值存储在 Visual Studio 设置文件中。Stores the value of an XML object in the Visual Studio settings file.

public:
 int WriteSettingXml(System::Object ^ pIXMLDOMNode);
public:
 int WriteSettingXml(Platform::Object ^ pIXMLDOMNode);
int WriteSettingXml(winrt::Windows::Foundation::IInspectable const & pIXMLDOMNode);
public int WriteSettingXml (object pIXMLDOMNode);
abstract member WriteSettingXml : obj -> int
Public Function WriteSettingXml (pIXMLDOMNode As Object) As Integer

参数

pIXMLDOMNode
Object

IXMLDOMNode 要存储为 Visual Studio 设置文件的指定数据元素的对象。[in] An IXMLDOMNode object to be stored as the specified data element of the Visual Studio settings file.

返回

Int32

如果该方法成功,则它会返回 S_OKIf the method succeeds, it returns S_OK. 如果该方法失败,则会返回错误代码。If it fails, it returns an error code.

适用于