Spread Windows Forms 11.0 Product Documentation
SetItem Method (AppearanceStyleCollection)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > AppearanceStyleCollection Class : SetItem Method
The zero based index of the element to replace.
The new value for the element at the specified index. The value can be null for reference types.
Replaces the element at the specified index.
Syntax
'Declaration
 
Protected Overrides NotOverridable Sub SetItem( _
   ByVal index As Integer, _
   ByVal item As AppearanceStyleInfo _
) 
'Usage
 
Dim instance As AppearanceStyleCollection
Dim index As Integer
Dim item As AppearanceStyleInfo
 
instance.SetItem(index, item)
protected override void SetItem( 
   int index,
   AppearanceStyleInfo item
)

Parameters

index
The zero based index of the element to replace.
item
The new value for the element at the specified index. The value can be null for reference types.
Exceptions
ExceptionDescription

The index is less than 0.

-or-

The index is greater than Count.

The item is a null reference (Nothing in Visual Basic).
See Also

Reference

AppearanceStyleCollection Class
AppearanceStyleCollection Members