共用方式為


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

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

See Also

Reference

IVsOutputGroup Interface

IVsOutputGroup Members

Microsoft.VisualStudio.Shell.Interop Namespace