RichTextContentControl::Temporary Property
Gets or sets a value that specifies whether the RichTextContentControl is automatically deleted from the document when the control is edited.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Property Value
Type: System::Booleantrue if the RichTextContentControl is automatically deleted when the control is edited; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| COMException | This property is set when the LockContentControl property is true. |
If the Temporary property is true, the RichTextContentControl is automatically deleted when the user types in the control, or when the text in the control is changed programmatically. When the RichTextContentControl is automatically deleted from the document, the text in the control remains in the document.
Show: