Aracılığıyla paylaş


IVsDependencyProvider.OpenDependency Yöntem (String, IVsDependency)

 

Belirtilen bir bağımlılık erişim sağlar.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

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

Parametreler

  • szDependencyCanonicalName
    [in] İstenen bağımlılık kurallı adını belirtir.
  • ppIVsDependency
    [Çıkış] İşaretçi IVsDependency istenen bağımlılık arabirimi.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Notlar

com imzası

Vsshell.idl:

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

Ayrıca bkz.

IVsDependencyProvider Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön