Spread for ASP.NET 7.0 Product Documentation
OnSet Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetViewCollection Class : OnSet Method


index
Index of the sheet to set
oldValue
Old sheet at the index
newValue
New sheet to be set at the index

Glossary Item Box

Processes the OnSet event, which sets a new sheet in the collection.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnSet( _
   ByVal index As Integer, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetViewCollection
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
 
instance.OnSet(index, oldValue, newValue)
C# 
protected override void OnSet( 
   int index,
   object oldValue,
   object newValue
)

Parameters

index
Index of the sheet to set
oldValue
Old sheet at the index
newValue
New sheet to be set at the index

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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