Edit

Share via


ContentControl.Delete(Boolean) Method

Definition

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.

Applies to