IVsOutputGroup2::get_DeployDependencies Method (UInt32, array<IVsDeployDependency^>^, array<UInt32>^)

 

Provides access to one or more deployment dependencies.

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

int get_DeployDependencies(
	unsigned int celt,
	array<IVsDeployDependency^>^ rgpdpd,
	array<unsigned int>^ pcActual
)

Parameters

celt
Type: System::UInt32

[in] Number of requested deployment dependencies.

rgpdpd
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsDeployDependency^>^

[in, out] On input, pointer to an interface array of size celt. On output, pointer to an IVsDeployDependency interface array that contains either the number of interfaces specified by celt or the number available.

pcActual
Type: array<System::UInt32>^

[out, optional] Pointer to the actual number of dependencies returned in pgpdpd.

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 IVsOutputGroup2::get_DeployDependencies(
   [in] ULONG celt, 
   [in, out, size_is(celt)] IVsDeployDependency * rgpdpd[], 
   [out, optional] ULONG *pcActual
);

The deployment project merges all of the deployment dependencies into the installer and makes sure they are deployed. If a project has no deployment dependencies, it should return E_NOTIMPL from this method.

Return to top
Show: