Gets or sets the style (StyleInfo object) at the specified index in the collection.
Syntax
'Declaration
Public Overridable Property Item( _
ByVal As System.Integer _
) As StyleInfo
'Usage
Dim instance As StyleInfoCollection
Dim index As System.Integer
Dim value As StyleInfo
instance.Item(index) = value
value = instance.Item(index)
public virtual StyleInfo Item(
System.int
) {get; set;}
Parameters
- index
- The style index.
Property Value
Returns the cell styles.
Exceptions
Exception | Description |
System.IndexOutOfRangeException | The specified index is not valid. |
System.ArgumentNullException | No value specified; cannot set a member to null. |
See Also