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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈