Click or drag to resize

LocalizableString Class



A string that may possibly be formatted differently depending on culture. NOTE: Types implementing LocalizableString must be serializable.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class LocalizableString : IFormattable, 
	IEquatable

The LocalizableString type exposes the following members.

Constructors
  NameDescription
Protected methodLocalizableString
Initializes a new instance of the LocalizableString class
Top
Methods
  NameDescription
Protected methodAreEqual
Provides the implementation of Equals. Equals will provide a default value if this method throws an exception.
Public methodEquals(Object)
Public methodEquals(LocalizableString)
Protected methodGetHash
Provides the implementation of GetHashCode. GetHashCode will provide a default value if this method throws an exception.
Public methodGetHashCode
Protected methodGetText
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.
Public methodToString
Public methodToString(IFormatProvider)
Formats the value of the current instance using the optionally specified format.
Top
Events
  NameDescription
Public eventOnException
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.
Top
Operators
See Also