IVsDependencyProvider::OpenDependency Method (String^, IVsDependency^)
Visual Studio 2015
Provides access to a specified dependency.
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::Int32If 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
);
Show: