Share via


IExplorerNodeType Interface

Defines the behavior of an existing type of node in the SharePoint Connections hierarchy of nodes in Server Explorer.

Namespace:  Microsoft.VisualStudio.SharePoint.Explorer
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface IExplorerNodeType _
    Inherits IAnnotatedObject, IExplorerNodeEvents
public interface IExplorerNodeType : IAnnotatedObject, 
    IExplorerNodeEvents

The IExplorerNodeType type exposes the following members.

Properties

  Name Description
Public property Annotations Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.)
Public property DefaultIcon Gets the icon to display with nodes of this type.
Public property Id Gets the ID of this node type.
Public property IsAlwaysLeaf Gets a value that indicates whether nodes of this type have no child nodes.
Public property Name Gets the name associated with this node type.

Top

Events

  Name Description
Public event NodeChildrenRequested Occurs when an IExplorerNode requests child nodes. (Inherited from IExplorerNodeEvents.)
Public event NodeDisposing Occurs when an IExplorerNode is about to be disposed. (Inherited from IExplorerNodeEvents.)
Public event NodeInitialized Occurs when a new IExplorerNode is initialized. (Inherited from IExplorerNodeEvents.)
Public event NodeMenuItemsRequested Occurs when an IExplorerNode requests shortcut menu items. (Inherited from IExplorerNodeEvents.)
Public event NodePropertiesRequested Occurs when an IExplorerNode requests properties. (Inherited from IExplorerNodeEvents.)

Top

Remarks

You can extend the behavior of an existing node type by implementing the IExplorerNodeTypeExtension interface. For more information, see How to: Extend a SharePoint Node in Server Explorer.

To create a new node type, implement the IExplorerNodeTypeProvider interface and use it to initialize an IExplorerNodeTypeDefinition object. For more information, see How to: Add a Custom SharePoint Node to Server Explorer

See Also

Reference

Microsoft.VisualStudio.SharePoint.Explorer Namespace