WebExtensionBinding

Inheritance: java.lang.Object

public class WebExtensionBinding

Specifies a binding relationship between a web extension and the data in the document.

To learn more, visit the Work with Office Add-ins documentation article.

Constructors

ConstructorDescription
WebExtensionBinding(String id, int bindingType, String appRef)Initializes a new instance of this class.

Methods

MethodDescription
getAppRef()Specifies the binding key used to map the binding entry in this list with the bound data in the document.
getBindingType()Specifies the binding type.
getId()Specifies the binding identifier.
setAppRef(String value)Specifies the binding key used to map the binding entry in this list with the bound data in the document.
setBindingType(int value)Specifies the binding type.
setId(String value)Specifies the binding identifier.

WebExtensionBinding(String id, int bindingType, String appRef)

public WebExtensionBinding(String id, int bindingType, String appRef)

Initializes a new instance of this class.

Parameters:

ParameterTypeDescription
idjava.lang.String
bindingTypeint
appRefjava.lang.String

getAppRef()

public String getAppRef()

Specifies the binding key used to map the binding entry in this list with the bound data in the document.

Returns: java.lang.String - The corresponding java.lang.String value.

getBindingType()

public int getBindingType()

Specifies the binding type.

Returns: int - The corresponding int value. The returned value is one of WebExtensionBindingType constants.

getId()

public String getId()

Specifies the binding identifier.

Returns: java.lang.String - The corresponding java.lang.String value.

setAppRef(String value)

public void setAppRef(String value)

Specifies the binding key used to map the binding entry in this list with the bound data in the document.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe corresponding java.lang.String value.

setBindingType(int value)

public void setBindingType(int value)

Specifies the binding type.

Parameters:

ParameterTypeDescription
valueintThe corresponding int value. The value must be one of WebExtensionBindingType constants.

setId(String value)

public void setId(String value)

Specifies the binding identifier.

Parameters:

ParameterTypeDescription
valuejava.lang.StringThe corresponding java.lang.String value.