IVsProfileDataManager.GetDefaultSettingsLocation(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the location for the default settings file.
public:
int GetDefaultSettingsLocation([Runtime::InteropServices::Out] System::String ^ % pbstrSettingsLocation);
C++/WinRT
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
- pbstrSettingsLocation
- String
[out] Pointer to a string containing the full path to the default settings file.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
cpp#
HRESULT IVsProfileDataManager::GetDefaultSettingsLocation(
[out] BSTR *pbstrSettingsLocation
);
製品 | バージョン |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |