Compartir a través de


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

'Declaración
Function GetCfgProvider ( _
    <OutAttribute> ByRef ppCfgProvider As IVsCfgProvider _
) As Integer
'Uso
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
)
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

IVsGetCfgProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace