共用方式為


BranchObjectOwnership.RootItem Property

Gets or sets the root item of this branch.

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

Syntax

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

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier
The root item of this branch.

.NET Framework Security

See Also

Reference

BranchObjectOwnership Class

Microsoft.TeamFoundation.VersionControl.Client Namespace