IVsDependencyProvider.EnumDependencies Method
Provides access to a dependency enumerator.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function EnumDependencies ( _
<OutAttribute> ByRef ppIVsEnumDependencies As IVsEnumDependencies _
) As Integer
‘사용 방법
Dim instance As IVsDependencyProvider
Dim ppIVsEnumDependencies As IVsEnumDependencies
Dim returnValue As Integer
returnValue = instance.EnumDependencies(ppIVsEnumDependencies)
int EnumDependencies(
out IVsEnumDependencies ppIVsEnumDependencies
)
int EnumDependencies(
[OutAttribute] IVsEnumDependencies^% ppIVsEnumDependencies
)
function EnumDependencies(
ppIVsEnumDependencies : IVsEnumDependencies
) : int
Parameters
ppIVsEnumDependencies
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumDependencies%[out] Pointer to a pointer to the IVsEnumDependencies interface of the dependency enumerator.
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 IVsDependencyProvider::EnumDependencies(
[out] IVsEnumDependencies **ppIVsEnumDependencies
);
IVsEnumDependencies allows its caller to scroll through a set of dependencies.
Permissions
- 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.