Partilhar via


ChangeRequest.ItemType Property

The ItemType is a non-versioned property that may only be set when you are adding an item to the repository. Once an item is a file or folder the Type may not be changed. The client should supply the ItemType on calls to help disambiguate.

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

Syntax

'Declaration
Public Property ItemType As ItemType
public ItemType ItemType { get; set; }
public:
property ItemType ItemType {
    ItemType get ();
    void set (ItemType value);
}
member ItemType : ItemType with get, set
function get ItemType () : ItemType 
function set ItemType (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