ClientScriptItem.Text Property

Definition

Gets the script statements contained in the client script element.

public:
 property System::String ^ Text { System::String ^ get(); };
public string Text { get; }
member this.Text : string
Public ReadOnly Property Text As String

Property Value

The script statements contained in the script element.

Remarks

The Text property represents the statements that are contained in the script element. Typically, the script statements for a script element are specified using either the Text or Source property.

If the Text property is null or an empty string (""), the script element does not contain any script statements.

The Source property is initialized by the ClientScriptItem constructor.

Applies to

See also