共用方式為


ExtendedItem Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.ExtendedItem

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

Syntax

'Declaration
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class ExtendedItem _
    Implements ICacheable
[CallOnDeserializationAttribute("AfterDeserialize")]
public class ExtendedItem : ICacheable
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class ExtendedItem : ICacheable
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type ExtendedItem =  
    class 
        interface ICacheable 
    end
public class ExtendedItem implements ICacheable

The ExtendedItem type exposes the following members.

Constructors

  Name Description
Public method ExtendedItem

Top

Properties

  Name Description
Public property ChangeEx List of change types being made to the item in the workspace
Public property ChangeTypeOld Used to return pending change bits for the v1.0 clients after removing the non-compatible bits.
Public property CheckinDate Last modification timestamp of the item.
Public property DeletionId Deletion ID of the latest version (tip) of the item.
Public property Encoding The encoding of the item.
Public property HasOtherPendingChange True if the items has a pending change in another workspace.
Public property IsBranch Where the item is defined as a branch object in the system.
Public property ItemId The item's ID. Used to retrieve file contents
Public property ItemType This tells the client the type of item being referenced.
Public property LocalItem The path where the client has the item. Null if the client does not have the item or it is an acknowleged pending delete.
Public property LockOwner Name of the user who holds the lock on this item (if any).
Public property LockOwnerDisplayName Display name of the user who holds the lock on this item (if any).
Public property LockStatus Specifies the new lock level of the item.
Public property PropertyValues The list of properties associated with this object.
Public property SourceServerItem Repository path of this item (e.g. $/Sample/MyFile.cs) at VersionLatest. If the item has a pending rename, this reflects the original name.
Public property TargetServerItem Repository path of this item (e.g. $/Sample/MyFile.cs) at VersionLatest except when the item has a pending rename, in which case this reflects the target name.
Public property VersionLatest True if this is the tip version.
Public property VersionLocal The version number of this item as a changeset number.

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 GetCachedSize Average size in bytes of the item.
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

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