IVsDependencyProvider.OpenDependency(String, IVsDependency) Метод

Определение

Предоставляет доступ к заданной зависимости.

public:
 int OpenDependency(System::String ^ szDependencyCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDependency ^ % ppIVsDependency);
public:
 int OpenDependency(Platform::String ^ szDependencyCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDependency ^ &  ppIVsDependency);
int OpenDependency(std::wstring const & szDependencyCanonicalName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsDependency const & & ppIVsDependency);
public int OpenDependency (string szDependencyCanonicalName, out Microsoft.VisualStudio.Shell.Interop.IVsDependency ppIVsDependency);
abstract member OpenDependency : string * IVsDependency -> int
Public Function OpenDependency (szDependencyCanonicalName As String, ByRef ppIVsDependency As IVsDependency) As Integer

Параметры

szDependencyCanonicalName
String

[in] Указывает каноническое имя запрошенной зависимости.

ppIVsDependency
IVsDependency

[out] Указатель на интерфейс IVsDependency запрошенной зависимости.

Возвращаемое значение

Int32

Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.

Комментарии

Подпись COM

Из всшелл. IDL:

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

Применяется к