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)
Syntax
'Declaración
Function get_DeployDependencies ( _
celt As UInteger, _
<OutAttribute> rgpdpd As IVsDeployDependency(), _
<OutAttribute> pcActual As UInteger() _
) As Integer
'Uso
Dim instance As IVsOutputGroup
Dim celt As UInteger
Dim rgpdpd As IVsDeployDependency()
Dim pcActual As UInteger()
Dim returnValue As Integer
returnValue = instance.get_DeployDependencies(celt, _
rgpdpd, pcActual)
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: 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.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.