Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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
Get
Set
'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 index] {
IClockVectorElement^ get (int index) sealed;
void set (int index, IClockVectorElement^ value) sealed;
}
abstract Item : IClockVectorElement with get, set
override Item : IClockVectorElement with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The index of the element to get or set.
Property Value
Type: Microsoft.Synchronization.IClockVectorElement
The element in the clock vector that is indicated by the value of index.
Implements
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | value cannot be cast to ClockVectorElement. |