WebExtensionProperty

WebExtensionProperty class

Represents an Office Add-in custom property.

class WebExtensionProperty;

Properties

PropertyTypeDescription
namestringGets and set a custom property name.
valuestringGets and sets a custom property value.

Methods

MethodDescription
getName()@deprecated. Please use the ’name’ property instead. Gets and set a custom property name.
setName(string)@deprecated. Please use the ’name’ property instead. Gets and set a custom property name.
getValue()@deprecated. Please use the ‘value’ property instead. Gets and sets a custom property value.
setValue(string)@deprecated. Please use the ‘value’ property instead. Gets and sets a custom property value.
isNull()Checks whether the implementation object is null.

name

Gets and set a custom property name.

name : string;

value

Gets and sets a custom property value.

value : string;

getName()

@deprecated. Please use the ’name’ property instead. Gets and set a custom property name.

getName() : string;

setName(string)

@deprecated. Please use the ’name’ property instead. Gets and set a custom property name.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getValue()

@deprecated. Please use the ‘value’ property instead. Gets and sets a custom property value.

getValue() : string;

setValue(string)

@deprecated. Please use the ‘value’ property instead. Gets and sets a custom property value.

setValue(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;