Share via


BranchRelative.RelativeToItemId Property

RelativeId for the BranchToItem item.

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

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

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

BranchRelative Class

Microsoft.TeamFoundation.VersionControl.Server Namespace