Поделиться через


DiffItemVersionedFile Class

Represents a versioned file that was prepared for difference operations.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.DiffItemVersionedFile

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

Syntax

'Declaration
Public Class DiffItemVersionedFile _
    Implements IDiffItem
public class DiffItemVersionedFile : IDiffItem
public ref class DiffItemVersionedFile : IDiffItem
type DiffItemVersionedFile =  
    class 
        interface IDiffItem 
    end
public class DiffItemVersionedFile implements IDiffItem

The DiffItemVersionedFile type exposes the following members.

Constructors

  Name Description
Public method DiffItemVersionedFile(Item, VersionSpec) Initializes a new DiffItemVersionedFile instance.
Public method DiffItemVersionedFile(VersionControlServer, String, VersionSpec) Initializes a new DiffItemVersionedFile instance.
Public method DiffItemVersionedFile(VersionControlServer, Int32, Int32, String) Initializes a new DiffItemVersionedFile instance.
Public method DiffItemVersionedFile(VersionControlServer, String, VersionSpec, DeletedState) Initializes a new instance of the DiffItemVersionedFile class.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDiffItem.GetEncoding Gets the encoding of the diff item.
Explicit interface implemetationPrivate method IDiffItem.GetFile Gets the file path of the diff item.
Explicit interface implemetationPrivate property IDiffItem.IsTemporary Gets a flag that describes whether the diff item is temporary.
Explicit interface implemetationPrivate property IDiffItem.Label Gets or sets the label of the diff item.
Explicit interface implemetationPrivate property IDiffItem.LabelFile Gets or sets the file part of the label.
Explicit interface implemetationPrivate property IDiffItem.LabelTag Gets the tag part of the label

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace