共用方式為


BranchObject.RelatedBranches Property

Gets the branches that are related to this branch.

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

Syntax

'Declaration
Public ReadOnly Property RelatedBranches As ItemIdentifier()
public ItemIdentifier[] RelatedBranches { get; }
public:
property array<ItemIdentifier^>^ RelatedBranches {
    array<ItemIdentifier^>^ get ();
}
member RelatedBranches : ItemIdentifier[] with get
function get RelatedBranches () : ItemIdentifier[]

Property Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier[]
The branches that are related to this branch.

.NET Framework Security

See Also

Reference

BranchObject Class

Microsoft.TeamFoundation.VersionControl.Client Namespace