共用方式為


Workspace.Diff Method (array<ItemSpec[], array<String , WorkspaceDifferenceFlags)

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

Syntax

'Declaration
Public Function Diff ( _
    itemSpecs As ItemSpec(), _
    exclusions As String(), _
    flags As WorkspaceDifferenceFlags _
) As IEnumerable(Of WorkspaceDifference)
public IEnumerable<WorkspaceDifference> Diff(
    ItemSpec[] itemSpecs,
    string[] exclusions,
    WorkspaceDifferenceFlags flags
)
public:
IEnumerable<WorkspaceDifference^>^ Diff(
    array<ItemSpec^>^ itemSpecs, 
    array<String^>^ exclusions, 
    WorkspaceDifferenceFlags flags
)
member Diff : 
        itemSpecs:ItemSpec[] * 
        exclusions:string[] * 
        flags:WorkspaceDifferenceFlags -> IEnumerable<WorkspaceDifference> 
public function Diff(
    itemSpecs : ItemSpec[], 
    exclusions : String[], 
    flags : WorkspaceDifferenceFlags
) : IEnumerable<WorkspaceDifference>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<WorkspaceDifference>

.NET Framework Security

See Also

Reference

Workspace Class

Diff Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace