Delen via


BranchRelative.RelativeFromItemId Property

RelativeId for BranchFromItem item.

RelativeIds exist because the members BranchFromItem and BranchToItem can both be NULL for security reasons.

The RelativeFromItemId of 0 means that this is the root of the branch topology graph.

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 RelativeFromItemId As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public int RelativeFromItemId { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
virtual property int RelativeFromItemId {
    int get () sealed;
    void set (int value) sealed;
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
abstract RelativeFromItemId : int with get, set
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
override RelativeFromItemId : int with get, set
final function get RelativeFromItemId () : int 
final function set RelativeFromItemId (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

BranchRelative Class

Microsoft.TeamFoundation.VersionControl.Server Namespace