Compartir a través de


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

'Declaration
Function GetSettingsFileExtension ( _
    <OutAttribute> ByRef pbstrSettingsFileExtension As String _
) As Integer
int GetSettingsFileExtension(
    out string pbstrSettingsFileExtension
)
int GetSettingsFileExtension(
    [OutAttribute] String^% pbstrSettingsFileExtension
)
abstract GetSettingsFileExtension : 
        pbstrSettingsFileExtension:string byref -> int
function GetSettingsFileExtension(
    pbstrSettingsFileExtension : String
) : int

Parameters

  • pbstrSettingsFileExtension
    Type: String%

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsProfileDataManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace