Share via


ContentControl.Temporary Property

Returns or sets a Boolean that represents whether to remove a content control from the active document when the user edits the contents of the control. Read/write.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property Temporary As Boolean
    Get
    Set
'Usage
Dim instance As ContentControl
Dim value As Boolean

value = instance.Temporary

instance.Temporary = value
bool Temporary { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

The default value is False. This property corresponds to the Remove content control when contents are edited check box in the Content Control Properties dialog box.

Note

You cannot set this property if the LockContentControl property is set to True.

See Also

Reference

ContentControl Interface

ContentControl Members

Microsoft.Office.Interop.Word Namespace