共用方式為


IVsProfileDataManager.GetSettingsFileExtension(String) Method

Definition

Retrieves the extension of the settings file.

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

Parameters

pbstrSettingsFileExtension
String

[out] Pointer to a string containing the extension of the 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::GetSettingsFileExtension(  
   [out] BSTR *pbstrSettingsFileExtension  
);  

Applies to