Compartir a través de


IVsDependencyProvider.OpenDependency Method

Provides access to a specified dependency.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function OpenDependency ( _
    szDependencyCanonicalName As String, _
    <OutAttribute> ByRef ppIVsDependency As IVsDependency _
) As Integer
int OpenDependency(
    string szDependencyCanonicalName,
    out IVsDependency ppIVsDependency
)
int OpenDependency(
    [InAttribute] String^ szDependencyCanonicalName, 
    [OutAttribute] IVsDependency^% ppIVsDependency
)
abstract OpenDependency : 
        szDependencyCanonicalName:string * 
        ppIVsDependency:IVsDependency byref -> int
function OpenDependency(
    szDependencyCanonicalName : String, 
    ppIVsDependency : IVsDependency
) : int

Parameters

  • szDependencyCanonicalName
    Type: String

    [in] Specifies the canonical name of the requested dependency.

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 IVsDependencyProvider::OpenDependency(
   [in] LPCOLESTR szDependencyCanonicalName,
   [out] IVsDependency **ppIVsDependency
);

.NET Framework Security

See Also

Reference

IVsDependencyProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace