Show / Hide Table of Contents

Class DefinedName

Represents a defined name of a workbook or sheet. A defined name binds a name to a formula

Inheritance
System.Object
DefinedName
TableDefinedName
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class DefinedName : object

Fields

_workbook

Declaration
protected Workbook _workbook
Field Value
Type Description
Workbook

Properties

BuiltIn

Gets whether the defined name is a built-in defined name.

Declaration
public bool BuiltIn { get; }
Property Value
Type Description
System.Boolean

Comment

Get or set the comment of the defined name.

Declaration
public string Comment { get; set; }
Property Value
Type Description
System.String

CustomMenu

Get or set the custom menu text of the defined name.

Declaration
public string CustomMenu { get; set; }
Property Value
Type Description
System.String

Description

Get or set the description.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

Formula

Get or set the formula of the defined name

Declaration
public string Formula { get; set; }
Property Value
Type Description
System.String

Help

Get or set the help text

Declaration
public string Help { get; set; }
Property Value
Type Description
System.String

LocaleSheetName

Declaration
public string LocaleSheetName { get; set; }
Property Value
Type Description
System.String

LocalSheet

Declaration
public Sheet LocalSheet { get; set; }
Property Value
Type Description
Sheet

Name

Get or set the name of the defined name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Range

Declaration
public Range Range { get; }
Property Value
Type Description
Range

ShortcutKey

Declaration
public string ShortcutKey { get; set; }
Property Value
Type Description
System.String

StatusBar

Declaration
public string StatusBar { get; set; }
Property Value
Type Description
System.String

Value

Get the actual value of the defined name

Declaration
public object Value { get; }
Property Value
Type Description
System.Object

Methods

IsValidName(String)

Declaration
protected static bool IsValidName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean
Back to top Generated by DocFX