LocalizedString.Implicit(LocalizedString to String) Operator

Definition

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)