Spread Windows Forms 12.0 Product Documentation
AddCustomName(String,String,Int32,Int32,String) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class > AddCustomName Method : AddCustomName(String,String,Int32,Int32,String) Method
Name to add
Value for name, as string
Base row index for calculating relative row references in the value
Base column index for calculating relative column references in the value
Comment for the custom name
Adds a new user-defined name to the model using the specified string value.
Syntax
'Declaration
 
Public Overloads Sub AddCustomName( _
   ByVal name As String, _
   ByVal value As String, _
   ByVal baseRow As Integer, _
   ByVal baseColumn As Integer, _
   ByVal comment As String _
) 
'Usage
 
Dim instance As DefaultSheetDataModel
Dim name As String
Dim value As String
Dim baseRow As Integer
Dim baseColumn As Integer
Dim comment As String
 
instance.AddCustomName(name, value, baseRow, baseColumn, comment)
public void AddCustomName( 
   string name,
   string value,
   int baseRow,
   int baseColumn,
   string comment
)

Parameters

name
Name to add
value
Value for name, as string
baseRow
Base row index for calculating relative row references in the value
baseColumn
Base column index for calculating relative column references in the value
comment
Comment for the custom name
See Also

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members
Overload List