LocalizableString Class
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.
A string that may possibly be formatted differently depending on culture. NOTE: Types implementing LocalizableString must be serializable.
public ref class LocalizableString abstract : IEquatable<Microsoft::CodeAnalysis::LocalizableString ^>, IFormattable
public abstract class LocalizableString : IEquatable<Microsoft.CodeAnalysis.LocalizableString>, IFormattable
type LocalizableString = class
interface IFormattable
interface IEquatable<LocalizableString>
Public MustInherit Class LocalizableString
Implements IEquatable(Of LocalizableString), IFormattable
- Inheritance
-
LocalizableString
- Derived
- Implements
Constructors
LocalizableString() |
Methods
AreEqual(Object) |
Provides the implementation of Equals. Equals will provide a default value if this method throws an exception. |
Equals(LocalizableString) | |
Equals(Object) | |
GetHash() |
Provides the implementation of GetHashCode. GetHashCode will provide a default value if this method throws an exception. |
GetHashCode() | |
GetText(IFormatProvider) |
Formats the value of the current instance using the optionally specified format. Provides the implementation of ToString. ToString will provide a default value if this method throws an exception. |
ToString() | |
ToString(IFormatProvider) |
Formats the value of the current instance using the optionally specified format. |
Operators
Explicit(LocalizableString to String) | |
Implicit(String to LocalizableString) |
Events
OnException |
Fired when an exception is raised by any of the public methods of LocalizableString. If the exception handler itself throws an exception, that exception is ignored. |
Explicit Interface Implementations
IFormattable.ToString(String, IFormatProvider) |
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários