Share via


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

'Declaration
Function GetCfgProvider ( _
    <OutAttribute> ByRef ppCfgProvider As IVsCfgProvider _
) As Integer
int GetCfgProvider(
    out IVsCfgProvider ppCfgProvider
)
int GetCfgProvider(
    [OutAttribute] IVsCfgProvider^% ppCfgProvider
)
abstract GetCfgProvider : 
        ppCfgProvider:IVsCfgProvider byref -> int 
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
);

.NET Framework Security

See Also

Reference

IVsGetCfgProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace