Otter SDK Reference
Version:

AddLiteral(System.Web.UI.ControlCollection toControl, string literalFormatString, object[] formatArgs) Method

Creates an instance of a System.Web.UI.LiteralControl containing a string generated from the supplied format string and arguments.

Syntax

public static void AddLiteral(System.Web.UI.ControlCollection toControl, string literalFormatString, object[] formatArgs)

Parameters

toControl
Type: System.Web.UI.ControlCollection

Control collection to add to.

literalFormatString
Type: string

Standard .NET format string.

formatArgs
Type: object[]

Arguments used within format string.