IExplorerNodeTypeExtension.Initialize Method
Initializes the node extension.
Namespace: Microsoft.VisualStudio.SharePoint.Explorer
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub Initialize ( _
nodeType As IExplorerNodeType _
)
void Initialize(
IExplorerNodeType nodeType
)
Parameters
- nodeType
Type: Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNodeType
The node type that is being extended.
Remarks
You can handle events of the nodeType parameter to add features to the node. For example, you can handle the following events:
NodeChildrenRequested: Handle this event to add new child nodes to the node. For more information, see How to: Add a Custom SharePoint Node to Server Explorer.
NodeMenuItemsRequested: Handle this event to add a custom shortcut menu item to the node.
NodePropertiesRequested: Handle this event to add custom properties to the node. The properties appear in the Properties window when the node is selected.
This method is called once for each IExplorerNodeTypeExtension implementation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.