PendingChange Methods

Include Protected Members
Include Inherited Members

The PendingChange type exposes the following members.

Methods

  Name Description
Public methodStatic member ConvertToChangeType Converts the ChangeType integer value that is returned from the server into a ChangeType enum.
Public methodStatic member ConvertToInt Converts the client ChangeType enum value to the integer value that is used by the server.
Public method DownloadBaseFile() Downloads the content of the version of the file against which the change was pended.
Public method DownloadBaseFile(String) Downloads the base version of the file upon which the change was pended.
Public method DownloadShelvedFile() Downloads the shelved content for this pending change. Throws if this is not a shelved pending change.
Public method DownloadShelvedFile(String) Downloads the shelved content for this pending change.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public methodStatic member GetLocalizedStringForChangeType(ChangeType) Creates a user-readable localized string for the change type.
Public methodStatic member GetLocalizedStringForChangeType(ChangeType, Boolean) Creates a user-readable localized string for the change type.
Public methodStatic member GetLocalizedStringForItemType Gets the localized string for the item type.
Public methodStatic member GetLocalizedStringForLockLevel Gets the localized string for the lock level.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsIEnumerableEmpty Checks to see whether an IEnumberable of PendingChange objects is empty.
Public methodStatic member IsSourceRename Checks whether the specified change type is a source rename and does not contain an add, branch, or rename.
Public methodStatic member MaterializeIEnumerable Converts an IEnumerable of PendingChange objects to an array of PendingChange objects.
Public method RestoreCandidateDelete Restores a candidate delete on disk, if it is a folder, walks children recursively and restores them also.
Public methodStatic member ToLocalItems Gets an array of local item paths from an array of pending changes.
Public methodStatic member ToServerItems Gets an array of server item paths from an array of pending changes.
Public method ToString Creates a user-readable string that describes a PendingChange object. (Overrides Object.ToString().)

Top

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace