Word.Interfaces.FieldUpdateData interface
An interface for updating data on the Field
object, for use in field.set({ ... })
.
Properties
code | Specifies the field's code instruction. |
data | Specifies data in an "Addin" field. If the field isn't an "Addin" field, it is |
locked | Specifies whether the field is locked. |
result | Gets the field's result data. |
Property Details
code
Specifies the field's code instruction.
code?: string;
Property Value
string
Remarks
Note: The ability to set the code was introduced in WordApi 1.5.
data
Specifies data in an "Addin" field. If the field isn't an "Addin" field, it is null
and it will throw a general exception when code attempts to set it.
data?: string;
Property Value
string
Remarks
locked
Specifies whether the field is locked. true
if the field is locked, false
otherwise.
locked?: boolean;
Property Value
boolean
Remarks
result
Gets the field's result data.
result?: Word.Interfaces.RangeUpdateData;
Property Value
Remarks
Office Add-ins