This documentation is archived and is not being maintained.

IVsOutputGroup.get_DeployDependencies Method

Provides access to one or more deployment dependencies.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int get_DeployDependencies (
	[InAttribute] uint celt,
	[OutAttribute] IVsDeployDependency[] rgpdpd,
	[OptionalAttribute] [OutAttribute] uint[] pcActual
)
int get_DeployDependencies (
	/** @attribute InAttribute() */ UInt32 celt, 
	/** @attribute OutAttribute() */ IVsDeployDependency[] rgpdpd, 
	/** @attribute OutAttribute() */ /** @attribute OptionalAttribute() */ UInt32[] pcActual
)
function get_DeployDependencies (
	celt : uint, 
	rgpdpd : IVsDeployDependency[], 
	pcActual : uint[]
) : int

Parameters

celt

[in] Number of requested deployment dependencies.

rgpdpd

[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

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

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsOutputGroup::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.

Show: