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

声明
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

Return Value

Type: System.String
A string that represents the path and deletion ID.

.NET Framework Security

See Also

Reference

VersionSpec Class

AddDeletionModifierIfNecessary Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace