Partilhar via


IVsSettingsReader.ReadSettingXmlAsString(String, String) Method

Definition

Returns the value of an XML setting as a string object stored in the Visual Studio settings file.

public:
 int ReadSettingXmlAsString(System::String ^ pszSettingName, [Runtime::InteropServices::Out] System::String ^ % pbstrXML);
int ReadSettingXmlAsString(std::wstring const & pszSettingName, [Runtime::InteropServices::Out] std::wstring const & & pbstrXML);
public int ReadSettingXmlAsString (string pszSettingName, out string pbstrXML);
abstract member ReadSettingXmlAsString : string * string -> int
Public Function ReadSettingXmlAsString (pszSettingName As String, ByRef pbstrXML As String) As Integer

Parameters

pszSettingName
String

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

pbstrXML
String

[out, retval] String 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