Word.DocumentCheckInWithVersionOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Provides configuration options for the Document.checkInWithVersion method.
Remarks
Properties
comment | If provided, specifies a comment for the check-in operation. |
make |
If provided, specifies whether to make the document public after check-in. The default value is |
save |
If provided, specifies whether to save changes before checking in. The default value is |
version |
If provided, specifies the version type for the check-in. The default value is |
Property Details
comment
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies a comment for the check-in operation.
comment?: string;
Property Value
string
Remarks
makePublic
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies whether to make the document public after check-in. The default value is false
.
makePublic?: boolean;
Property Value
boolean
Remarks
saveChanges
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies whether to save changes before checking in. The default value is true
.
saveChanges?: boolean;
Property Value
boolean
Remarks
versionType
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies the version type for the check-in. The default value is minorVersion
.
versionType?: Word.CheckInVersionType | "Minor" | "Major" | "Overwrite";
Property Value
Word.CheckInVersionType | "Minor" | "Major" | "Overwrite"