Compartilhar via


IVsProfileDataManager.GetDefaultSettingsLocation(String) Method

Definition

Retrieves the location for the default settings file.

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

Parameters

pbstrSettingsLocation
String

[out] Pointer to a string containing the full path to the default settings file.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsProfileDataManager::GetDefaultSettingsLocation(  
   [out] BSTR *pbstrSettingsLocation  
);  

Applies to