Export (0) Print
Expand All

VersionSpec.AddDeletionModifierIfNecessary Method

Formats a path to include the deletion identifier if it is non-zero.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public static string AddDeletionModifierIfNecessary (
	string path,
	int deletionId
)
public static String AddDeletionModifierIfNecessary (
	String path, 
	int deletionId
)
public static function AddDeletionModifierIfNecessary (
	path : String, 
	deletionId : int
) : String

Parameters

path

The path. path should not already include the deletion identifier.

deletionId

The deletion id.

Return Value

Returns a string which represents the original path, potentially with a formatted deletion modifier added.

Community Additions

ADD
Show:
© 2014 Microsoft