This documentation is archived and is not being maintained.

ItemSpec Class

Represents a selector for versioned items.

System::Object
  Microsoft.TeamFoundation.VersionControl.Server::ItemSpec

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

public ref class ItemSpec

The ItemSpec type exposes the following members.

  NameDescription
Public propertyDeletionIdDeletion ID of the item.
Public propertyItemFull path of the item. May be either a server or local path.
Public propertyRecursionTypeType of recursion to use to select items.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the representation of this item spec: <itemName>[( [RecursionType][,DeletionId])] e.g., $/Sample/folder/file.cs (full, 30). (Overrides Object::ToString().)
Top

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