IndexedString(String) Constructor

Definition

Initializes a new instance of the IndexedString class.

public:
 IndexedString(System::String ^ s);
public IndexedString (string s);
new System.Web.UI.IndexedString : string -> System.Web.UI.IndexedString
Public Sub New (s As String)

Parameters

s
String

The string.

Exceptions

The string parameter passed to the constructor is null or Empty.

Remarks

The IndexedString constructor ensures that the string passed is not null or Empty, and then assigns it to the Value property.

Applies to