| 
TypedSortedListEx
 TKey
,
 TValue
SetByIndex Method
  | 
 Replaces the value at the specific index.
 Namespace:
 Spire.Doc.Collections
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
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 
 
 
 
Parameters
 
- 
index
 
- 
 Type:
 
System
Int32
 
 The zero-based index at which to save value.
- 
value
 
- 
 Type:
 
 TValue
 The Object to save into. Can be NULL.
 
 Exceptions
Exceptions
 
 
| Exception | Condition | 
| ArgumentOutOfRangeException | When index is less than zero or greater than size of the list. | 
 
 
 See Also
See Also