IVsGetCfgProvider.GetCfgProvider Method

Returns a pointer to IVsCfgProvider so that the package can retrieve information relating to the project's configuration.

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

Syntax

'宣言
Function GetCfgProvider ( _
    <OutAttribute> ByRef ppCfgProvider As IVsCfgProvider _
) As Integer
'使用
Dim instance As IVsGetCfgProvider
Dim ppCfgProvider As IVsCfgProvider
Dim returnValue As Integer

returnValue = instance.GetCfgProvider(ppCfgProvider)
int GetCfgProvider(
    out IVsCfgProvider ppCfgProvider
)
int GetCfgProvider(
    [OutAttribute] IVsCfgProvider^% ppCfgProvider
)
function GetCfgProvider(
    ppCfgProvider : IVsCfgProvider
) : int

Parameters

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 vsshell.idl:

HRESULT IVsGetCfgProvider::GetCfgProvider(
   [out] IVsCfgProvider** ppCfgProvider
);

Permissions

See Also

Reference

IVsGetCfgProvider Interface

IVsGetCfgProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace