共用方式為


WorkspaceCancelEventArgs.Cancel Property

Gets or sets a flag that describes whether the workspace operation was canceled.

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

Syntax

'宣告
Public Property Cancel As Boolean
    Get
    Set
public bool Cancel { get; set; }
public:
property bool Cancel {
    bool get ();
    void set (bool value);
}
member Cancel : bool with get, set
function get Cancel () : boolean
function set Cancel (value : boolean)

Property Value

Type: System.Boolean
True if a cancellation occurred; otherwise, false.

.NET Framework Security

See Also

Reference

WorkspaceCancelEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace