Share via


IExplorerNode Interface

Represents a 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 IExplorerNode _
    Inherits IAnnotatedObject, INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged
public interface IExplorerNode : IAnnotatedObject, 
    INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged

The IExplorerNode 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 ChildNodes Gets the collection of IExplorerNode objects that are the children of the current node.
Public property Context Gets an IExplorerNodeContext object that you can use to get information about the SharePoint site that the current node is associated with.
Public property Icon Gets or sets the icon for the current node.
Public property IsDisposed Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public property IsDisposing Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public property IsDynamic Gets a value that indicates whether the node is recreated every time its parent node is refreshed.
Public property NodeType Gets an IExplorerNodeType object that defines the behavior of this node.
Public property ParentNode Gets the parent node for the current node.
Public property ServiceProvider Gets the service provider for the current node.
Public property SortOrder Gets or sets a value that is used to sort the current node among sibling nodes.
Public property Text Gets or sets the text of the node.

Top

Methods

  Name Description
Public method Refresh Updates the text displayed by the node and recreates its dynamic child nodes.

Top

Events

  Name Description
Public event Disposed Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public event Disposing Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public event DoubleClick Occurs when the node is double-clicked.
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

You can get an IExplorerNode object when you create an extension for a SharePoint node, or when you define a new type of node. For more information, see How to: Extend a SharePoint Node in Server Explorer and How to: Add a Custom SharePoint Node to Server Explorer.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Explorer Namespace