Partilhar via


IVsSettingsWriter.WriteSettingAttribute(String, String, String) Method

Definition

public:
 int WriteSettingAttribute(System::String ^ pszSettingName, System::String ^ pszAttributeName, System::String ^ pszSettingValue);
public:
 int WriteSettingAttribute(Platform::String ^ pszSettingName, Platform::String ^ pszAttributeName, Platform::String ^ pszSettingValue);
int WriteSettingAttribute(std::wstring const & pszSettingName, std::wstring const & pszAttributeName, std::wstring const & pszSettingValue);
public int WriteSettingAttribute (string pszSettingName, string pszAttributeName, string pszSettingValue);
abstract member WriteSettingAttribute : string * string * string -> int
Public Function WriteSettingAttribute (pszSettingName As String, pszAttributeName As String, pszSettingValue As String) As Integer

Parameters

pszSettingName
String

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

pszAttributeName
String

[in] The attribute name.

pszSettingValue
String

[in] The value 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.

Remarks

From vsshell80.idl:

HRESULT IVsSettingsWriter::WriteSettingAttribute(  
   LPCOLESTR pszSettingName,  
   LPCOLESTR pszAttributeName,  
   LPCOLESTR pszSettingValue  
);  

Applies to