Compartilhar via


IVsOutputGroup2.get_DeployDependencies Method

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)

Syntax

'Declaration
Function get_DeployDependencies ( _
    celt As UInteger, _
    <OutAttribute> rgpdpd As IVsDeployDependency(), _
    <OutAttribute> pcActual As UInteger() _
) As Integer
int get_DeployDependencies(
    uint celt,
    IVsDeployDependency[] rgpdpd,
    uint[] pcActual
)
int get_DeployDependencies(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsDeployDependency^>^ rgpdpd, 
    [OutAttribute] array<unsigned int>^ pcActual
)
abstract get_DeployDependencies : 
        celt:uint32 * 
        rgpdpd:IVsDeployDependency[] byref * 
        pcActual:uint32[] byref -> int
function get_DeployDependencies(
    celt : uint, 
    rgpdpd : IVsDeployDependency[], 
    pcActual : uint[]
) : int

Parameters

  • celt
    Type: UInt32

    [in] Number of requested deployment dependencies.

  • pcActual
    Type: array<UInt32[]

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

Return Value

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

Remarks

COM Signature

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.

.NET Framework Security

See Also

Reference

IVsOutputGroup2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace