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
Constructor | Description |
---|---|
WebExtensionBinding(String id, int bindingType, String appRef) | Initializes a new instance of this class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
id | java.lang.String | |
bindingType | int | |
appRef | java.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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The corresponding java.lang.String value. |
setBindingType(int value)
public void setBindingType(int value)
Specifies the binding type.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | The corresponding int value. The value must be one of WebExtensionBindingType constants. |
setId(String value)
public void setId(String value)
Specifies the binding identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The corresponding java.lang.String value. |