IExplorerNode Interface
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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 | |
---|---|---|
Annotations | Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.) | |
ChildNodes | Gets the collection of IExplorerNode objects that are the children of the current node. | |
Context | Gets an IExplorerNodeContext object that you can use to get information about the SharePoint site that the current node is associated with. | |
Icon | Gets or sets the icon for the current node. | |
IsDisposed | Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.) | |
IsDisposing | Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.) | |
IsDynamic | Gets a value that indicates whether the node is recreated every time its parent node is refreshed. | |
NodeType | Gets an IExplorerNodeType object that defines the behavior of this node. | |
ParentNode | Gets the parent node for the current node. | |
ServiceProvider | Gets the service provider for the current node. | |
SortOrder | Gets or sets a value that is used to sort the current node among sibling nodes. | |
Text | Gets or sets the text of the node. |
Top
Methods
Name | Description | |
---|---|---|
Refresh | Updates the text displayed by the node and recreates its dynamic child nodes. |
Top
Events
Name | Description | |
---|---|---|
Disposed | Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.) | |
Disposing | Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.) | |
DoubleClick | Occurs when the node is double-clicked. | |
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.