IndexedString Constructor (String)

 

Initializes a new instance of the IndexedString class.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

Public Sub New (
	s As String
)

Parameters

s
Type: System.String

The string.

Exception Condition
ArgumentNullException

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

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

.NET Framework
Available since 2.0
Return to top
Show: