Freigeben über


IVsSettingsWriter.WriteSettingXmlFromString(String) Method

Definition

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

public:
 int WriteSettingXmlFromString(System::String ^ szXML);
public:
 int WriteSettingXmlFromString(Platform::String ^ szXML);
int WriteSettingXmlFromString(std::wstring const & szXML);
public int WriteSettingXmlFromString (string szXML);
abstract member WriteSettingXmlFromString : string -> int
Public Function WriteSettingXmlFromString (szXML As String) As Integer

Parameters

szXML
String

[in] String to be stored as 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