Delen via


ClockVector.Item Property

Gets or sets the element in the clock vector that is indicated by the value of index.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As IClockVectorElement
'Usage
Dim instance As ClockVector
Dim index As Integer
Dim value As IClockVectorElement

value = instance(index)

instance(index) = value
public IClockVectorElement this [
    int index
] { get; set; }
public:
virtual property IClockVectorElement^ default [int] {
    IClockVectorElement^ get (int index) sealed;
    void set (int index, IClockVectorElement^ value) sealed;
}
/** @property */
public final IClockVectorElement get_Item (int index)

/** @property */
public final void set_Item (int index, IClockVectorElement value)

Parameters

  • index
    The index of the element to get or set.

Property Value

The element in the clock vector that is indicated by the value of index.

See Also

Reference

ClockVector Class
ClockVector Members
Microsoft.Synchronization Namespace