Muokkaa

Jaa


StringInfo Constructors

Definition

Initializes a new instance of the StringInfo class.

Overloads

StringInfo()

Initializes a new instance of the StringInfo class.

StringInfo(String)

Initializes a new instance of the StringInfo class to a specified string.

StringInfo()

Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

Initializes a new instance of the StringInfo class.

public:
 StringInfo();
public StringInfo ();
Public Sub New ()

Remarks

The value of the new StringInfo object is initialized to the empty string (""). You can assign another string to it by using the String property. You can also instantiate a StringInfo object that represents a specified string in a single step by calling the StringInfo(String) constructor.

See also

Applies to

StringInfo(String)

Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

Initializes a new instance of the StringInfo class to a specified string.

public:
 StringInfo(System::String ^ value);
public StringInfo (string value);
new System.Globalization.StringInfo : string -> System.Globalization.StringInfo
Public Sub New (value As String)

Parameters

value
String

A string to initialize this StringInfo object.

Exceptions

value is null.

Remarks

This constructor assigns the value argument to the object's String property.

Applies to