IExplorerNodeTypeDefinition Interface

Definition

Defines the behavior of a new type of node in the SharePoint Connections hierarchy of nodes in Server Explorer.

public interface class IExplorerNodeTypeDefinition : Microsoft::VisualStudio::SharePoint::Explorer::IExplorerNodeEvents, Microsoft::VisualStudio::SharePoint::IAnnotatedObject
public interface IExplorerNodeTypeDefinition : Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNodeEvents, Microsoft.VisualStudio.SharePoint.IAnnotatedObject
type IExplorerNodeTypeDefinition = interface
    interface IAnnotatedObject
    interface IExplorerNodeEvents
Public Interface IExplorerNodeTypeDefinition
Implements IAnnotatedObject, IExplorerNodeEvents
Implements

Remarks

To create a new type of node, implement the IExplorerNodeTypeProvider interface. In your implementation of the InitializeType method, you can use properties and events of the IExplorerNodeTypeDefinition parameter to define the behavior of your new node type. For more information, see How to: Add a Custom SharePoint Node to Server Explorer.

Each type of node is initialized by exactly one IExplorerNodeTypeDefinition object.

Properties

Annotations

Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface.

(Inherited from IAnnotatedObject)
DefaultIcon

Gets or sets the default icon for nodes that are defined by 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.

NodeType

Gets a Boolean value indicating whether nodes of this type do not usually have child nodes. This property is superseded if extensions to the IExplorerNodeType are present.

Events

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)

Applies to