Represents a change that has not been committed to the repository.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PendingChange
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class PendingChange
public sealed class PendingChange
public ref class PendingChange sealed
[<Sealed>]
type PendingChange =  class end
public final class PendingChange
The PendingChange type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ChangeType | Gets the ChangeType of this pending change. | 
| .gif) | ChangeTypeName | Gets the localized name of the change type. | 
| .gif) | ConflictType | Gets the type of conflict against this change. This is only populated for queries against local workspaces. | 
| .gif) | CreationDate | Gets the date that the change was pending. | 
| .gif) | DeletionId | Gets the ID of the item to be deleted. | 
| .gif) .gif) | EmptyIEnumerable | Gets an empty IEnumerable of PendingChanges. | 
| .gif) | Encoding | Gets the encoding of the file. | 
| .gif) | EncodingName | Gets the localized name of the encoding. | 
| .gif) | FileName | Gets the file name for this pending change from the local path. Gets the file name from the server path if the local path is unavailable. | 
| .gif) | HashValue | Gets the MD5 HashValue for the contents of the pending change. | 
| .gif) | IsAdd | Gets a flag that describes whether this pending change is a pending add. | 
| .gif) | IsBranch | Gets a flag that describes whether this change is a pending branch. | 
| .gif) | IsCandidate | Gets a value that indicates whether the change is a candidate. | 
| .gif) | IsDelete | Gets a flag that describes whether this pending change is a pending delete. | 
| .gif) | IsEdit | Gets a flag that describes whether this pending change is a pending edit. | 
| .gif) | IsEncoding | Gets a flag that describes whether this pending change is a pending file type change. | 
| .gif) | IsImplicit | Gets a value that indicates whether this pending change represents change on the child item caused only by the parent change. | 
| .gif) | IsLocalItemDelete | Gets a flag that describes whether the pending change is deleting a local file or folder. | 
| .gif) | IsLock | Gets a flag that describes whether this pending change has a lock. | 
| .gif) | IsMerge | Gets a flag that describes whether this change is a pending merge. | 
| .gif) | IsRename | Gets a flag that describes whether this pending change is a pending rename. | 
| .gif) | IsRollback | Gets a flag that describes whether this change is a pending rollback. | 
| .gif) | IsUndelete | Gets a flag that describes whether this changes is a pending undelete. | 
| .gif) | IsUnshelvedChange | Gets a flag that describes whether this pending change is from unshelving a shelveset. | 
| .gif) | ItemId | Gets the Item ID that is used to download file contents. | 
| .gif) | ItemType | Gets the type of the item to change. | 
| .gif) | Length | Gets the length of the committed content (the version of the file the change is pended against). | 
| .gif) | LocalItem | Gets the path of the item on the local file system of the client. | 
| .gif) .gif) | LocalItemComparer | The comparer that compares local items. | 
| .gif) | LocalOrServerFolder | Gets the local folder if it is available. Otherwise, gets the server folder. | 
| .gif) | LocalOrServerItem | Gets the local path if it is available. Otherwise, gets the server path. | 
| .gif) | LockLevel | Gets the lock level of the item. | 
| .gif) | LockLevelName | Gets the localized name of the lock level. | 
| .gif) | LockLevelShortName | Gets the localized short name of the lock level. | 
| .gif) | MergeSources | Gets the read-only collection of MergeSources that is associated with this pending change. | 
| .gif) | PendingChangeId | Gets the ID that represents a unique value that is attached to the change. | 
| .gif) | PropertyValues | Gets the properties for this pending change. | 
| .gif) | ServerItem | Gets the server item that is being operated on. | 
| .gif) .gif) | ServerItemComparer | Gets the comparer that compares server items. | 
| .gif) | SourceDeletionId | Gets or sets the deletion ID of the source item. | 
| .gif) | SourceLocalItem | Gets the source local path or the item to be changed. | 
| .gif) | SourceServerItem | Gets the server path or the item to be changed. | 
| .gif) | SourceVersionFrom | Gets or sets the source version from. | 
| .gif) | ToolTipText | Gets the tooltip text for this pending change. | 
| .gif) | Undone | Gets a flag that describes whether this pending change has been undone. | 
| .gif) | UploadHashValue | Gets the MD5 HashValue for the file that is currently associated with this pending change. | 
| .gif) | Version | Gets the version of the pending change. | 
| .gif) | VersionControlServer | Gets the repository that contains this pending change. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | ConvertToChangeType | Converts the ChangeType integer value that is returned from the server into a ChangeType enum. | 
| .gif) .gif) | ConvertToInt | Converts the client ChangeType enum value to the integer value that is used by the server. | 
| .gif) | DownloadBaseFile() | Downloads the content of the version of the file against which the change was pended. | 
| .gif) | DownloadBaseFile(String) | Downloads the base version of the file upon which the change was pended. | 
| .gif) | DownloadShelvedFile() | Downloads the shelved content for this pending change. Throws if this is not a shelved pending change. | 
| .gif) | DownloadShelvedFile(String) | Downloads the shelved content for this pending change. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) .gif) | GetLocalizedStringForChangeType(ChangeType) | Creates a user-readable localized string for the change type. | 
| .gif) .gif) | GetLocalizedStringForChangeType(ChangeType, Boolean) | Creates a user-readable localized string for the change type. | 
| .gif) .gif) | GetLocalizedStringForItemType | Gets the localized string for the item type. | 
| .gif) .gif) | GetLocalizedStringForLockLevel | Gets the localized string for the lock level. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) .gif) | IsIEnumerableEmpty | Checks to see whether an IEnumberable of PendingChange objects is empty. | 
| .gif) .gif) | IsSourceRename | Checks whether the specified change type is a source rename and does not contain an add, branch, or rename. | 
| .gif) .gif) | MaterializeIEnumerable | Converts an IEnumerable of PendingChange objects to an array of PendingChange objects. | 
| .gif) | RestoreCandidateDelete | Restores a candidate delete on disk, if it is a folder, walks children recursively and restores them also. | 
| .gif) .gif) | ToLocalItems | Gets an array of local item paths from an array of pending changes. | 
| .gif) .gif) | ToServerItems | Gets an array of server item paths from an array of pending changes. | 
| .gif) | ToString | Creates a user-readable string that describes a PendingChange object. (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.