Add Method (INames)

Spread.Services Documentation
Add Method (INames)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread Namespace > INames Interface : Add Method

The text to use as the name. Names cannot include spaces and cannot look like cell references.
Required unless one of the other RefersTo arguments is specified. Describes what the name refers to (using A1-style notation).
Defines a new name. Returns the IName object.
Syntax

- C#

    IName Add(
       System.string name,
       System.string refersTo
    )

#### Parameters

name
  The text to use as the name. Names cannot include spaces and cannot look like cell references.
refersTo
  Required unless one of the other RefersTo arguments is specified. Describes what the name refers to (using A1-style notation).

#### Return Value

Returns a new IName object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

INames Interface
INames Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback