IndexedString(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา