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 | |
---|---|---|
Annotations | Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.) | |
DefaultIcon | Gets the icon to display with nodes of this type. | |
Id | Gets the ID of this node type. | |
IsAlwaysLeaf | Gets a value that indicates whether nodes of this type have no child nodes. | |
Name | Gets the name associated with this node type. |
Top
Events
Name | Description | |
---|---|---|
NodeChildrenRequested | Occurs when an IExplorerNode requests child nodes. (Inherited from IExplorerNodeEvents.) | |
NodeDisposing | Occurs when an IExplorerNode is about to be disposed. (Inherited from IExplorerNodeEvents.) | |
NodeInitialized | Occurs when a new IExplorerNode is initialized. (Inherited from IExplorerNodeEvents.) | |
NodeMenuItemsRequested | Occurs when an IExplorerNode requests shortcut menu items. (Inherited from IExplorerNodeEvents.) | |
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