Partilhar via


LocalizableString Class

Definition

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