HostItem Class

Represents the main extended object in an application.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("E4961E69-EC85-41BE-8C65-863189A1886B")> _
Public Class HostItem _
    Inherits IdentifierHostItemNode _
    Implements IVstaHostItem
'Usage
Dim instance As HostItem
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
[GuidAttribute("E4961E69-EC85-41BE-8C65-863189A1886B")]
public class HostItem : IdentifierHostItemNode, IVstaHostItem
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"E4961E69-EC85-41BE-8C65-863189A1886B")]
public ref class HostItem : public IdentifierHostItemNode, 
    IVstaHostItem
public class HostItem extends IdentifierHostItemNode implements IVstaHostItem

Remarks

For example, Microsoft Excel might expose workbooks or worksheets as HostItem objects, whereas a Chart or a NamedRange on a worksheet would be one of the HostObjects.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Internal.BlueprintNode
    Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.IdentifierHostItemNode
      Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.HostItem

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

HostItem Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace