VersionSpec.AddDeletionModifierIfNecessary Method (Item)
Formats an item path to include the deletion ID if it is nonzero.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function AddDeletionModifierIfNecessary ( _
item As Item _
) As String
public static string AddDeletionModifierIfNecessary(
Item item
)
public:
static String^ AddDeletionModifierIfNecessary(
Item^ item
)
static member AddDeletionModifierIfNecessary :
item:Item -> string
public static function AddDeletionModifierIfNecessary(
item : Item
) : String
Parameters
item
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemThe item to format.
Return Value
Type: System.String
A string that represents the path and deletion ID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.