HostItemEventsWrapper Constructor
Initializes a new instance of the HostItemEventsWrapper class.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Public Sub New ( _
hostItem As IVstaHostItem _
)
'Usage
Dim hostItem As IVstaHostItem
Dim instance As New HostItemEventsWrapper(hostItem)
public HostItemEventsWrapper(
IVstaHostItem hostItem
)
public:
HostItemEventsWrapper(
IVstaHostItem^ hostItem
)
public function HostItemEventsWrapper(
hostItem : IVstaHostItem
)
Parameters
hostItem
Type: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop.IVstaHostItemThe source item to declare the events for.
.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.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace