Removes that ConditionalInstruction element from the collection and the document, where the Name property value equals the specified name.

Remove(String)

public bool Remove(string name);
Public Function Remove(ByVal name As String) As Boolean

Parameters

Parameter Description
name Specifies the name of the ConditionalInstruction element to remove.

Return Value

The return value is true, if the specified ConditionalInstruction element was found and removed. Otherwise false. A ConditionalInstruction element won't be removed, if the TextControl.IsFormFieldValidationEnabled property is set to false or the TextControl.EditMode is set to EditMode.ReadAndSelect and TextControl.DocumentPermissions.ReadOnly to true.