IWebMatrixHost.TreeItemCreated Event
Applies to v2.
Occurs when an item is added to the file tree.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Event TreeItemCreated As EventHandler(Of TreeItemEventArgs)
'Usage
Dim instance As IWebMatrixHost
Dim handler As EventHandler(Of TreeItemEventArgs)
AddHandler instance.TreeItemCreated, handler
event EventHandler<TreeItemEventArgs> TreeItemCreated
event EventHandler<TreeItemEventArgs^>^ TreeItemCreated {
void add (EventHandler<TreeItemEventArgs^>^ value);
void remove (EventHandler<TreeItemEventArgs^>^ value);
}
abstract TreeItemCreated : IEvent<EventHandler<TreeItemEventArgs>,
TreeItemEventArgs>
JScript supports the use of events, but not the declaration of new ones.
Remarks
An icon and tooltip can be set; only the last assignment takes effect.