共用方式為


IVsLibraryReferenceManager Interface

Definition

Provides information about reference .NET libraries for the Object Browser. You can get an instance of this interface from the SVsComplusLibrary (SID_SVsComplusLibrary) service.

public interface class IVsLibraryReferenceManager
public interface class IVsLibraryReferenceManager
__interface IVsLibraryReferenceManager
[System.Runtime.InteropServices.Guid("699D5E17-9B22-466B-ACFA-2E12CD64E249")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLibraryReferenceManager
[System.Runtime.InteropServices.Guid("699D5E17-9B22-466B-ACFA-2E12CD64E249")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsLibraryReferenceManager
[<System.Runtime.InteropServices.Guid("699D5E17-9B22-466B-ACFA-2E12CD64E249")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsLibraryReferenceManager = interface
[<System.Runtime.InteropServices.Guid("699D5E17-9B22-466B-ACFA-2E12CD64E249")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsLibraryReferenceManager = interface
Public Interface IVsLibraryReferenceManager
Attributes

Methods

AddComponentReference(String, Object)

Called by the project when adding a reference to a component identified by its path.

DecrementCheckCount(String, Object)

Called by the project referencing a component identified by its path when it is taken out of scope.

GetListIndex(VSOBJECTINFO[], IVsObjectList, UInt32)

Provides browse information for the Object Browser.

IncrementCheckCount(String, Object)

Called by the project referencing a component identified by its path when it is brought into scope.

RemoveComponentReference(String, Object)

Called by the project when removing a reference to a component identified by its path.

Applies to