Compartilhar via


IVsSettingsReader.ReadSettingXml(String, Object) Method

Definition

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

public:
 int ReadSettingXml(System::String ^ pszSettingName, [Runtime::InteropServices::Out] System::Object ^ % ppIXMLDOMNode);
int ReadSettingXml(std::wstring const & pszSettingName, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppIXMLDOMNode);
public int ReadSettingXml (string pszSettingName, out object ppIXMLDOMNode);
abstract member ReadSettingXml : string * obj -> int
Public Function ReadSettingXml (pszSettingName As String, ByRef ppIXMLDOMNode As Object) As Integer

Parameters

pszSettingName
String

[in] String uniquely identifying the data element to be retrieved.

ppIXMLDOMNode
Object

[out, retval] An IXMLDOMNode object retrieved from the specified data element of the Visual Studio settings file.

Returns

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

Applies to