WebExtensionBinding
WebExtensionBinding class
Represents a binding relationship between an Office Add-in and the data in the document.
class WebExtensionBinding;
Constructors
| Constructor | Description |
|---|---|
| constructor() | Default Constructor. |
Properties
| Property | Type | Description |
|---|---|---|
| id | string | Gets and sets the binding identifier. |
| type | string | Gets and sets the binding type. |
| appref | string | Gets and sets the binding key used to map the binding entry in this list with the bound data in the document. |
Methods
| Method | Description |
|---|---|
| getId() | @deprecated. Please use the ‘id’ property instead. Gets and sets the binding identifier. |
| setId(string) | @deprecated. Please use the ‘id’ property instead. Gets and sets the binding identifier. |
| getType() | @deprecated. Please use the ’type’ property instead. Gets and sets the binding type. |
| setType(string) | @deprecated. Please use the ’type’ property instead. Gets and sets the binding type. |
| getAppref() | @deprecated. Please use the ‘appref’ property instead. Gets and sets the binding key used to map the binding entry in this list with the bound data in the document. |
| setAppref(string) | @deprecated. Please use the ‘appref’ property instead. Gets and sets the binding key used to map the binding entry in this list with the bound data in the document. |
| isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
id
Gets and sets the binding identifier.
id : string;
type
Gets and sets the binding type.
type : string;
appref
Gets and sets the binding key used to map the binding entry in this list with the bound data in the document.
appref : string;
getId()
@deprecated. Please use the ‘id’ property instead. Gets and sets the binding identifier.
getId() : string;
setId(string)
@deprecated. Please use the ‘id’ property instead. Gets and sets the binding identifier.
setId(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
getType()
@deprecated. Please use the ’type’ property instead. Gets and sets the binding type.
getType() : string;
setType(string)
@deprecated. Please use the ’type’ property instead. Gets and sets the binding type.
setType(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
getAppref()
@deprecated. Please use the ‘appref’ property instead. Gets and sets the binding key used to map the binding entry in this list with the bound data in the document.
getAppref() : string;
setAppref(string)
@deprecated. Please use the ‘appref’ property instead. Gets and sets the binding key used to map the binding entry in this list with the bound data in the document.
setAppref(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;