GitItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
GitItem() | |
GitItem(String, String, GitObjectType, String, Int32) |
Properties
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
SetSecuredObject(ISecuredObject) |
Explicit Interface Implementations
ISecuredObject.GetToken() | (Inherited from VersionControlSecuredObject) |
ISecuredObject.NamespaceId | (Inherited from VersionControlSecuredObject) |
ISecuredObject.RequiredPermissions | (Inherited from VersionControlSecuredObject) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for