ContentControl.Delete(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the specified content control and the contents of the content control.
public void Delete (bool DeleteContents = false);
abstract member Delete : bool -> unit
Public Sub Delete (Optional DeleteContents As Boolean = false)
Parameters
- DeleteContents
- Boolean
Specifies whether to delete the contents of the content control. True removes both the content control and its contents. False removes the control but leaves the contents of the content control in the active document. The default value is False.