共用方式為


IVsObjectManager2 Interface

Used by a VSPackage to register and unregister the symbol libraries with the Visual Studio object manager and create component sets that can be browsed. To obtain a reference to the Visual Studio object manager, call global service provider which is passed to you by the SetSite method.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")> _
Public Interface IVsObjectManager2
'用途
Dim instance As IVsObjectManager2
[InterfaceTypeAttribute()]
[GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")]
public interface IVsObjectManager2
[InterfaceTypeAttribute()]
[GuidAttribute(L"6A0392E4-68E8-4FBC-AFCF-85155533E48E")]
public interface class IVsObjectManager2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("6A0392E4-68E8-4FBC-AFCF-85155533E48E")>]
type IVsObjectManager2 =  interface end
public interface IVsObjectManager2

Remarks

Notes to Implementers

Implemented by the Visual Studio environment.

See Also

Reference

IVsObjectManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace