Spread Windows Forms 9.0 Product Documentation
AddCustomName Method (DefaultSheetDataModel)


Adds a custom name to the model using the specified value.

Overload List
OverloadDescription
AddCustomName(String,String,Int32,Int32)Adds a named expression to the model for use in formulas.  
AddCustomName(String,Expression)Adds a named expression to the model for use in formulas.  
AddCustomName(String,String,Int32,Int32,String)Adds a new user-defined name to the model using the specified string value.  
AddCustomName(String,Expression,String)Adds a new user-defined name to the model using the specified expression value.  
Remarks

Custom names are identifiers to represent information in the spreadsheet. A custom name can refer to a cell, a range of cells, a computed value, or a formula. Methods that deal with custom names provide the same functionality as the Name in Microsoft Excel.

The name can contain up to 255 characters and can include letters, numbers, or underscores. The first character must be a letter or an underscore. Avoid using custom names that start with C# or R# patterns (# stands for any number).

For more information on on using custom names in formulas, refer to Custom Names in Formulas.

Requirements

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

See Also

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members
Custom Names in Formulas
RemoveCustomName Method

 

 


Copyright © GrapeCity, inc. All rights reserved.