Edit

GitItem Class

Definition

[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitItemsCollection))]
public class GitItem : Microsoft.TeamFoundation.SourceControl.WebApi.ItemModel
type GitItem = class
    inherit ItemModel
Public Class GitItem
Inherits ItemModel
Inheritance
Attributes

Constructors

Name Description
GitItem()
GitItem(String, String, GitObjectType, String, Int32)

Properties

Name Description
CommitId

SHA1 of commit item was fetched at

Content (Inherited from ItemModel)
ContentMetadata (Inherited from ItemModel)
GitObjectType

Type of object (Commit, Tree, Blob, Tag, ...)

IsFolder (Inherited from ItemModel)
IsSymbolicLink (Inherited from ItemModel)
LatestProcessedChange

Shallow ref to commit that last changed this item Only populated if latestProcessedChange is requested May not be accurate if latest change is not yet cached

Links (Inherited from ItemModel)
ObjectId

Git object id

OriginalObjectId

Git object id

Path (Inherited from ItemModel)
Url (Inherited from ItemModel)

Methods

Name Description
SetSecuredObject(ISecuredObject)

Explicit Interface Implementations

Name Description
ISecuredObject.GetToken() (Inherited from VersionControlSecuredObject)
ISecuredObject.NamespaceId (Inherited from VersionControlSecuredObject)
ISecuredObject.RequiredPermissions (Inherited from VersionControlSecuredObject)

Applies to