LocalizedString.Implicit(LocalizedString to String) Operator

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.

Implicitly converts the LocalizedString to a String.

C#
public static implicit operator string?(Microsoft.Extensions.Localization.LocalizedString localizedString);

Parameters

localizedString
LocalizedString

The string to be implicitly converted.

Returns

Applies to

Product Versions
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)