PendingChange Members

Include Protected Members
Include Inherited Members

Represents a pending change that is part of a changeset.

The PendingChange type exposes the following members.

Methods

 

Name

Description

Public method

DownloadBaseFile

Downloads the content for the base (original) file in the conflict.

Public method

DownloadShelvedFile

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.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public methodStatic member

GetLocalizedStringForChangeType

Overloaded. Creates for the ChangeType a localized string used for displaying to the user.

Public methodStatic member

GetLocalizedStringForItemType

Creates for the ItemType a localized string used for displaying to the user.

Public methodStatic member

GetLocalizedStringForLockLevel

Creates for the LockLevel a localized string used for displaying to the user.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public methodStatic member

ToLocalItems

Gets an array of LocalItem path strings from an array of PendingChanges.

Public methodStatic member

ToServerItems

Gets an array of ServerItem path strings from an array of PendingChanges.

Public method

ToString

(Overrides Object.ToString().)

Top

Properties

 

Name

Description

Public property

ChangeType

Gets list of change types being made to the item

Public property

ChangeTypeName

Gets the localized string for the change type.

Public property

CreationDate

Gets the time the change was created or pended.

Public property

DeletionId

Gets the ID of the item to be deleted, if there is more than one deleted item with the same database path.

Public property

Encoding

Gets the encoding of the file.

Public property

EncodingName

Gets the name of the encoding.

Public property

FileName

Gets the file name.

Public property

HashValue

Gets the MD5 HashValue for the contents of the pending change.

Public property

IsAdd

Gets the flag that declares if this pending change is an add.

Public property

IsBranch

Gets the flag that declares if this pending change is a branch.

Public property

IsDelete

Gets the flag that declares if this pending change is a delete.

Public property

IsEdit

Gets the flag that declares if this pending change is an edit.

Public property

IsEncoding

Gets the flag that declares if this pending change is an encoding change.

Public property

IsLocalItemDelete

Gets the flag that declares if this pending change or undone change will delete a local file or folder.

Public property

IsLock

Gets the flag that declares if this pending change has a lock operation.

Public property

IsMerge

Gets the flag that declares if this pending change is a merge operation.

Public property

IsRename

Gets the flag that declares if this pending change is a rename operation.

Public property

IsUndelete

Gets the flag that declares if this pending change is an undelete operation.

Public property

IsUnshelvedChange

Gets the flag that declares if this is a pending change from unshelving a shelveset.

Public property

ItemId

Gets the Item ID used to download file contents.

Public property

ItemType

Gets the type of item being changed. If this is an add operation, ItemType shows what the item will become.

Public property

LocalItem

Gets the path of the item on the client's local file system.

Public propertyStatic member

LocalItemComparer

Gets a comparer to compare local items.

Public property

LocalOrServerFolder

Gets the local folder if it is available; otherwise gets the server folder.

Public property

LocalOrServerItem

Gets the local path if it is available; otherwise gets the server path.

Public property

LockLevel

Gets the lock level of the item.

Public property

LockLevelName

Gets the localized string for the lock level.

Public property

LockLevelShortName

Gets the localized string for the lock level.

Public property

PendingChangeId

Gets the Identifier that represents a unique value attached to the change.

Public property

ServerItem

Gets the server item being operated on.

Public propertyStatic member

ServerItemComparer

Gets the comparer for sorting WorkingFolder instances based on the server path.

Public property

SourceLocalItem

Gets the source local path or the item to be changed.

Public property

SourceServerItem

Gets the server path or the item to be changed.

Public property

ToolTipText

Gets the ToolTip text for this pending change.

Public property

Undone

Gets the flag to indicate whether this change has been undone.

Public property

UploadHashValue

Gets the MD5 HashValue for the file that is currently associated with this pending change.

Public property

Version

Gets the version of the pending change.

Public property

VersionControlServer

Gets the source control database which contains this pending change.

Top

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace