共用方式為


IVsProjectCfg2.OpenOutputGroup(String, IVsOutputGroup) Method

Definition

Returns a specific output group.

public:
 int OpenOutputGroup(System::String ^ szCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsOutputGroup ^ % ppIVsOutputGroup);
public:
 int OpenOutputGroup(Platform::String ^ szCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsOutputGroup ^ &  ppIVsOutputGroup);
int OpenOutputGroup(std::wstring const & szCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsOutputGroup const & & ppIVsOutputGroup);
public int OpenOutputGroup (string szCanonicalName, out Microsoft.VisualStudio.Shell.Interop.IVsOutputGroup ppIVsOutputGroup);
abstract member OpenOutputGroup : string * IVsOutputGroup -> int
Public Function OpenOutputGroup (szCanonicalName As String, ByRef ppIVsOutputGroup As IVsOutputGroup) As Integer

Parameters

szCanonicalName
String

[in] Canonical name of the configuration such as Debug or Release.

ppIVsOutputGroup
IVsOutputGroup

[out] Pointer to a pointer to the IVsOutputGroup object that will be instantiated for the output group.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsProjectCfg2::OpenOutputGroup(  
   [in] LPCOLESTR szCanonicalName,  
   [out] IVsOutputGroup **ppIVsOutputGroup  
);  

Applies to