ExcelScript.Binding interface
Represents an Office.js binding that is defined in the workbook.
Methods
delete() | Deletes the binding. |
get |
Represents the binding identifier. |
get |
Returns the range represented by the binding. Will throw an error if the binding is not of the correct type. |
get |
Returns the table represented by the binding. Will throw an error if the binding is not of the correct type. |
get |
Returns the text represented by the binding. Will throw an error if the binding is not of the correct type. |
get |
Returns the type of the binding. See |
Method Details
delete()
Deletes the binding.
delete(): void;
Returns
void
getId()
Represents the binding identifier.
getId(): string;
Returns
string
getRange()
Returns the range represented by the binding. Will throw an error if the binding is not of the correct type.
getRange(): Range;
Returns
getTable()
Returns the table represented by the binding. Will throw an error if the binding is not of the correct type.
getTable(): Table;
Returns
getText()
Returns the text represented by the binding. Will throw an error if the binding is not of the correct type.
getText(): string;
Returns
string
getType()
Returns the type of the binding. See ExcelScript.BindingType
for details.
getType(): BindingType;
Returns
Office Scripts