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
- ppCfgProvider
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider%
[out] Pointer to an IVsCfgProvider.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.