StringInfo.String Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the value of the current StringInfo object.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public string String { get; set; }

Property Value

Type: System.String

The string that is the value of the current StringInfo object.

Exception Condition

The value in a set operation is null.

When a StringInfo object is instantiated, its String property is set to one of the following values:

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top