共用方式為


OperationEventArgs.Workspace Property

Gets the workspace associated with this operation.

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

Syntax

'Declaration
Public ReadOnly Property Workspace As Workspace
public Workspace Workspace { get; }
public:
property Workspace^ Workspace {
    Workspace^ get ();
}
member Workspace : Workspace with get
function get Workspace () : Workspace

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The workspace associated with this operation. Null if no workspace is available or the workspace is unknown.

.NET Framework Security

See Also

Reference

OperationEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace