WebExtensionBinding

WebExtensionBinding class

Represents a binding relationship between an Office Add-in and the data in the document.

class WebExtensionBinding;

Constructors

ConstructorDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
idstringGets and sets the binding identifier.
typestringGets and sets the binding type.
apprefstringGets and sets the binding key used to map the binding entry in this list with the bound data in the document.

Methods

MethodDescription
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:

ParameterTypeDescription
valuestringThe 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:

ParameterTypeDescription
valuestringThe 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:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;