次の方法で共有


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

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

See Also

Reference

IVsDependencyProvider Interface

IVsDependencyProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace