ItemIdentifier Class
Represents a unique identifier for an item.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
Public NotInheritable Class ItemIdentifier
public sealed class ItemIdentifier
public ref class ItemIdentifier sealed
[<Sealed>]
type ItemIdentifier = class end
public final class ItemIdentifier
The ItemIdentifier type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ItemIdentifier(String) | Creates an item identifier for an item. | |
ItemIdentifier(Change) | Creates an item identifier from a change object. | |
ItemIdentifier(String, VersionSpec) | Creates an item identifier for an item and specified version. |
Top
Properties
Name | Description | |
---|---|---|
ChangeType | Gets the change type of the item. | |
IsDeleted | Checks whether the item is deleted at the VersionSpec version. | |
Item | Gets or sets the item that is associated with this ItemIdentifier. | |
Version | Gets or sets the version that is associated with this ItemIdentifier. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Equals(ItemIdentifier) | Compares this item identifier to another. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Creates a user-readable string that describes the properties of this ItemIdentifier. (Overrides Object.ToString().) |
Top
Remarks
Includes item properties such as a VersionSpec, deletion ID, and change type.
These properties are used for branch object calls such as QueryBranchObjects, TrackMerges, and DeleteBranchObject.
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.