共用方式為


Item Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.Item

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

Syntax

'宣告
<RequiredClientServiceAttribute("VersionControlServer")> _
<ClassNotSealedAttribute> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class Item _
    Implements ICacheable
[RequiredClientServiceAttribute("VersionControlServer")]
[ClassNotSealedAttribute]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class Item : ICacheable
[RequiredClientServiceAttribute(L"VersionControlServer")]
[ClassNotSealedAttribute]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class Item : ICacheable
[<RequiredClientServiceAttribute("VersionControlServer")>]
[<ClassNotSealedAttribute>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type Item =  
    class
        interface ICacheable
    end
public class Item implements ICacheable

The Item type exposes the following members.

Constructors

  Name Description
Public method Item

Top

Properties

  Name Description
Public property ChangesetId
Public property CheckinDate
Public property DeletionId
Public property DownloadUrl
Public property Encoding
Public property FileLength
Public property HashValue
Public property IsBranch
Public property IsContentDestroyed
Public property IsFolder
Public property ItemId
Public property ItemType
Public property Properties
Public property SequenceId
Public property ServerItem
Public property TimeZone
Public property TimeZoneOffset

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 GetArtifactSpec
Public method GetCachedSize
Public method GetDownloadUrlCount
Public method GetFileId
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetHashValue
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 SetDownloadUrl
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