Partager via


IVsSettingsWriter.WriteSettingXml Method

Stores the value of an XML object in the Visual Studio settings file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function WriteSettingXml ( _
    pIXMLDOMNode As Object _
) As Integer
int WriteSettingXml(
    Object pIXMLDOMNode
)
int WriteSettingXml(
    [InAttribute] Object^ pIXMLDOMNode
)
abstract WriteSettingXml : 
        pIXMLDOMNode:Object -> int
function WriteSettingXml(
    pIXMLDOMNode : Object
) : int

Parameters

  • pIXMLDOMNode
    Type: Object

    [in] An IXMLDOMNode object to be stored as the specified data element of the Visual Studio settings file.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsSettingsWriter Interface

Microsoft.VisualStudio.Shell.Interop Namespace