Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDependencyProvider::OpenDependency(
[in] LPCOLESTR szDependencyCanonicalName,
[out] IVsDependency **ppIVsDependency
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.