Partager via


IVsSettingsReader.ReadSettingAttribute(String, String, String) Method

Definition

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

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

Parameters

pszSettingName
String

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

pszAttributeName
String

[in] Sting uniquely identifying the attribute.

pbstrSettingValue
String

[out] 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