Replaces the value at the specific index.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public virtual void SetByIndex( int index, TValue value )
Public Overridable Sub SetByIndex ( index As Integer, value As TValue )
public: virtual void SetByIndex( int index, TValue value )
abstract SetByIndex : index : int * value : 'TValue -> unit override SetByIndex : index : int * value : 'TValue -> unit
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | When index is less than zero or greater than size of the list. |