Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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