PendingChange Methods

The PendingChange type exposes the following members.

  Name Description
Public method Static member ConvertToChangeType Converts the ChangeType integer value that is returned from the server into a ChangeType enum.
Public method Static 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 method Static member GetLocalizedStringForChangeType(ChangeType) Creates a user-readable localized string for the change type.
Public method Static member GetLocalizedStringForChangeType(ChangeType, Boolean) Creates a user-readable localized string for the change type.
Public method Static member GetLocalizedStringForItemType Gets the localized string for the item type.
Public method Static member GetLocalizedStringForLockLevel Gets the localized string for the lock level.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member IsIEnumerableEmpty Checks to see whether an IEnumberable of PendingChange objects is empty.
Public method Static member IsSourceRename Checks whether the specified change type is a source rename and does not contain an add, branch, or rename.
Public method Static 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 method Static member ToLocalItems Gets an array of local item paths from an array of pending changes.
Public method Static 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
Show: