共用方式為


BranchRelative.BranchToItem Property

Optional BranchedTo item.

This is set to NULL if the user does not have permission to read the item.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property BranchToItem As Item
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public Item BranchToItem { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property Item^ BranchToItem {
    Item^ get ();
    void set (Item^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member BranchToItem : Item with get, set
function get BranchToItem () : Item 
function set BranchToItem (value : Item)

Property Value

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

.NET Framework Security

See Also

Reference

BranchRelative Class

Microsoft.TeamFoundation.VersionControl.Server Namespace