Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
LocalizedString Class
Definition
- Namespace:
- Microsoft.Extensions.Localization
- Assembly:
- Microsoft.Extensions.Localization.Abstractions.dll
- Package:
- Microsoft.Extensions.Localization.Abstractions v11.0.0-preview.5.26302.115
- Source:
- LocalizedString.cs
- Source:
- LocalizedString.cs
- Source:
- LocalizedString.cs
- Source:
- LocalizedString.cs
- Source:
- LocalizedString.cs
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.
A locale specific string.
public ref class LocalizedString
public class LocalizedString
type LocalizedString = class
Public Class LocalizedString
- Inheritance
-
LocalizedString
Constructors
| Name | Description |
|---|---|
| LocalizedString(String, String, Boolean, String) |
Creates a new LocalizedString. |
| LocalizedString(String, String, Boolean) |
Creates a new LocalizedString. |
| LocalizedString(String, String) |
Creates a new LocalizedString. |
Properties
| Name | Description |
|---|---|
| Name |
The name of the string in the resource it was loaded from. |
| ResourceNotFound |
Whether the string was not found in a resource. If |
| SearchedLocation |
The location which was searched for a localization value. |
| Value |
The actual string. |
Methods
| Name | Description |
|---|---|
| ToString() |
Returns the actual string. |
Operators
| Name | Description |
|---|---|
| Implicit(LocalizedString to String) |
Implicitly converts the LocalizedString to a String. |
Applies to
Feedback
Was this page helpful?
