共用方式為


VersionControlServer.Destroyed Event

This event is fired when a tree or an item is destroyed.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Event Destroyed As DestroyedEventHandler
public event DestroyedEventHandler Destroyed
public:
 event DestroyedEventHandler^ Destroyed {
    void add (DestroyedEventHandler^ value);
    void remove (DestroyedEventHandler^ value);
}
member Destroyed : IEvent<DestroyedEventHandler,
    DestroyEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace