IVsDependencyProvider::OpenDependency Method (String^, IVsDependency^)

 

Provides access to a specified dependency.

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

int OpenDependency(
	String^ szDependencyCanonicalName,
	[OutAttribute] IVsDependency^% ppIVsDependency
)

Parameters

szDependencyCanonicalName
Type: System::String^

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

ppIVsDependency
Type: Microsoft.VisualStudio.Shell.Interop::IVsDependency^

[out] Pointer to the IVsDependency interface of the requested dependency.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsDependencyProvider::OpenDependency(
   [in] LPCOLESTR szDependencyCanonicalName,
   [out] IVsDependency **ppIVsDependency
);
Return to top
Show: