IVsProjectCfg2::get_CfgType Method (Guid, IntPtr)

 

Provides access to a configuration interface such as IVsBuildableProjectCfg or IVsDebuggableProjectCfg.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int get_CfgType(
	[InAttribute] Guid% iidCfg,
	[OutAttribute] IntPtr% ppCfg
)

Parameters

iidCfg
Type: System::Guid

[in] Interface identifier of the configuration interface to access.

ppCfg
Type: System::IntPtr

[out, iid_is(iidCfg)] Pointer to the configuration interface identified by iidCfg.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsProjectCfg2::get_CfgType(
   [in] REFIID iidCfg,
   [out, iid_is(iidCfg)] void **ppCfg
);

The environment calls this method to retrieve a pointer to the configuration interface implemented on an object separate from the object supported by IVsProjectCfg2. The separate object will be used to control and launch the build, deploy, or debug process, usually on its own thread.

Return to top
Show: