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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應