[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.IEnhancedCustomNameSupport.AddModelScopeCustomName

AddModelScopeCustomName Method

AddModelScopeCustomName(string, string, int, int, string)

Adds a new user-defined name for the specified value, as string, to the model.

Declaration
void AddModelScopeCustomName(string name, string value, int baseRow, int baseColumn, string comment)
Sub AddModelScopeCustomName(name As String, value As String, baseRow As Integer, baseColumn As Integer, comment As String)
Parameters
Type Name Description
string name

The name of custom name to add

string value

The value of custom name to add

int baseRow

Base row index for calculating relative row references in the value

int baseColumn

Base column index for calculating relative column references in the value

string comment

The comment of the custom name

AddModelScopeCustomName(string, Expression, string)

Adds a new user-defined name for the specified value, as an expression, to the model.

Declaration
void AddModelScopeCustomName(string name, Expression value, string comment)
Sub AddModelScopeCustomName(name As String, value As Expression, comment As String)
Parameters
Type Name Description
string name

The name of custom name to add

Expression value

The value of custom name to add

string comment

The comment of the custom name to add