共用方式為


ChangeRequest.TargetItemType Property

If TargetItem is specified, this value can override the server's detection of whether the target is a folder or item (move vs rename).

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

Syntax

'Declaration
Public Property TargetItemType As ItemType
public ItemType TargetItemType { get; set; }
public:
property ItemType TargetItemType {
    ItemType get ();
    void set (ItemType value);
}
member TargetItemType : ItemType with get, set
function get TargetItemType () : ItemType 
function set TargetItemType (value : ItemType)

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Server.ItemType
Returns ItemType.

.NET Framework Security

See Also

Reference

ChangeRequest Class

Microsoft.TeamFoundation.VersionControl.Server Namespace