Partager via


ResolutionOptions.NewPath Property

Gets or sets the location of the item that was moved to resolve a conflict.

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

Syntax

'Déclaration
Public Property NewPath As String
    Get
    Set
public string NewPath { get; set; }
public:
property String^ NewPath {
    String^ get ();
    void set (String^ value);
}
member NewPath : string with get, set
function get NewPath () : String
function set NewPath (value : String)

Property Value

Type: System.String
Returns String.

Remarks

Examples: When a merge conflict will be resolved with the AcceptMerge resolution and a conflicting pending rename occurs, this property contains the desired name. If the name is null, the conflict will not be resolved.

When a namespace conflict will be resolved with the AcceptYoursRenameTheirs resolution, this property contains the new location of the item that is coming down in the conflict.

When a namespace conflict will be resolved with the AcceptMerge resolution, this property contains the new location of the local item that was in the way of the server item that attempted to come down in the conflict.

.NET Framework Security

See Also

Reference

ResolutionOptions Class

Microsoft.TeamFoundation.VersionControl.Client Namespace