Spread Windows Forms 7.0 Product Documentation
Item(Int32) Property
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class > Item Property : Item(Int32) Property


index

Glossary Item Box

Gets or sets the sheet (SheetView object) at the specified position in the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Property Item( _
   ByVal index As Integer _
) As SheetView
Visual Basic (Usage)Copy Code
Dim instance As SheetViewCollection
Dim index As Integer
Dim value As SheetView
 
instance.Item(index) = value
 
value = instance.Item(index)
C# 
public SheetView Item( 
   int index
) {get; set;}

Parameters

index

Exceptions

ExceptionDescription
System.Exception Specified sheet index is invalid; must be between 0 and total number of sheets in the collection
System.ArgumentNullException Sheet index is not specified (that is, specified index is null)

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.