IVsProfileDataManager.GetSettingsFileExtension Method

Retrieves the extension of the settings file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function GetSettingsFileExtension ( _
    <OutAttribute> ByRef pbstrSettingsFileExtension As String _
) As Integer
'使用
Dim instance As IVsProfileDataManager
Dim pbstrSettingsFileExtension As String
Dim returnValue As Integer

returnValue = instance.GetSettingsFileExtension(pbstrSettingsFileExtension)
int GetSettingsFileExtension(
    out string pbstrSettingsFileExtension
)
int GetSettingsFileExtension(
    [OutAttribute] String^% pbstrSettingsFileExtension
)
function GetSettingsFileExtension(
    pbstrSettingsFileExtension : String
) : int

Parameters

  • pbstrSettingsFileExtension
    Type: System.String%

    [out] Pointer to a string containing the extension of the settings file.

Return Value

Type: System.Int32

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
);

Permissions

See Also

Reference

IVsProfileDataManager Interface

IVsProfileDataManager Members

Microsoft.VisualStudio.Shell.Interop Namespace