共用方式為


MergeEventArgs Class

Arguments describing a merge operation on a single item.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.TeamFoundation.VersionControl.Client.MergeEventArgs

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'宣告
Public Class MergeEventArgs _
    Inherits EventArgs
public class MergeEventArgs : EventArgs
public ref class MergeEventArgs : public EventArgs
type MergeEventArgs =  
    class
        inherit EventArgs
    end
public class MergeEventArgs extends EventArgs

The MergeEventArgs type exposes the following members.

Properties

  Name Description
Public property ChangeType Gets the changetype of the pending change.
Public property DiskUpdateAttempted Gets a flag describing whether an update to disk occurred.
Public property IsConflict Gets a flag describing whether or not a conflict exists in the merge.
Public property IsLatest Gets a flag describing whether this operation is getting the latest version of the item.
Public property PendingChange Gets the pending change resulting from an automatically resolved merge.
Public property Properties Gets a collection of properties associated with this merge.
Public property Resolution Gets the resolution of the merge.
Public property SourceLocalItem Gets the name of the source local item.
Public property SourceServerItem Gets the name of the source server item.
Public property SourceVersionFrom Gets the changeset version specifier of the source item.
Public property SourceVersionTo Gets the changeset version specifier of the source item.
Public property Status Gets the current status of the merge operation.
Public property TargetLocalItem Gets the path to the target local item.
Public property TargetLocalPendingChangeType Gets the changetype of the target local item.
Public property TargetServerItem Gets the path to the target server item.
Public property TargetVersionPended Gets the changeset version specifier of the pending target version.
Public property Workspace Gets the workspace associated with this merge.

Top

Methods

  Name Description
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 method GetMessage Gets a string that describes this event.
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 method ToString Returns a string that represents the current object. (Inherited from Object.)

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace