다음을 통해 공유


ItemSpec Class

Represents a selector for versioned items.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class ItemSpec
public class ItemSpec
public ref class ItemSpec
type ItemSpec =  class end
public class ItemSpec

The ItemSpec type exposes the following members.

Constructors

  Name Description
Public method ItemSpec()
Public method ItemSpec(String, RecursionType)
Public method ItemSpec(String, RecursionType, Int32)

Top

Properties

  Name Description
Public property DeletionId Deletion ID of the item.
Public property Item Full path of the item. May be either a server or local path.
Public property RecursionType Type of recursion to use to select items.

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 the representation of this item spec: <itemName>[( [RecursionType][,DeletionId])] e.g., $/Sample/folder/file.cs (full, 30). (Overrides Object.ToString().)

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.Server Namespace