AllowLiterals Method

Returns a value of false to disallow literal content to be added to the control by the AppendLiteralString method.

Syntax

Visual Basic Overridable  Public  Function 
AllowLiterals( ) As bool
C# public   virtual  bool 
AllowLiterals( );
Managed C++ public:   virtual  bool 
AllowLiterals( );
JScript public  function
AllowLiterals( );

Return Value

bool. Returns a value that indicates whether to allow literal content.

false Default. Disallow literal content.

Remarks

Override this method in a subclass and return true to allow literal content to be added to the control with the AppendLiteralString method.

Applies To

FilterControlBuilder

See Also

Internet Explorer WebControls