IVsOutputGroup.get_ProjectCfg Method
Returns a pointer to the configuration's IVsProjectCfg2 interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function get_ProjectCfg ( _
<OutAttribute> ByRef ppIVsProjectCfg2 As IVsProjectCfg2 _
) As Integer
‘사용 방법
Dim instance As IVsOutputGroup
Dim ppIVsProjectCfg2 As IVsProjectCfg2
Dim returnValue As Integer
returnValue = instance.get_ProjectCfg(ppIVsProjectCfg2)
int get_ProjectCfg(
out IVsProjectCfg2 ppIVsProjectCfg2
)
int get_ProjectCfg(
[OutAttribute] IVsProjectCfg2^% ppIVsProjectCfg2
)
abstract get_ProjectCfg :
ppIVsProjectCfg2:IVsProjectCfg2 byref -> int
function get_ProjectCfg(
ppIVsProjectCfg2 : IVsProjectCfg2
) : int
Parameters
- ppIVsProjectCfg2
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectCfg2%
[out] Back pointer to the IVsProjectCfg2 interface for the requested project configuration.
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 IVsOutputGroup::get_ProjectCfg(
[out] IVsProjectCfg2 **ppIVsProjectCfg2
);
.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.