IExplorerNodeTypeProvider.InitializeType Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes the new node type.
Namespace: Microsoft.VisualStudio.SharePoint.Explorer
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub InitializeType ( _
typeDefinition As IExplorerNodeTypeDefinition _
)
void InitializeType(
IExplorerNodeTypeDefinition typeDefinition
)
Parameters
typeDefinition
Type: Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNodeTypeDefinitionThe definition of the new node type.
Remarks
You can handle events and set properties of the typeDefinition parameter to define the behavior of the node. For example, you can specify the icon or text for the node, and 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 IExplorerNodeTypeProvider 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.