Partilhar via


LocalizableResourceString Class

Definition

A localizable resource string that may possibly be formatted differently depending on culture.

public ref class LocalizableResourceString sealed : Microsoft::CodeAnalysis::LocalizableString
public sealed class LocalizableResourceString : Microsoft.CodeAnalysis.LocalizableString
type LocalizableResourceString = class
    inherit LocalizableString
Public NotInheritable Class LocalizableResourceString
Inherits LocalizableString
Inheritance
LocalizableResourceString

Constructors

LocalizableResourceString(String, ResourceManager, Type, String[])

Creates a localizable resource string that may possibly be formatted differently depending on culture.

LocalizableResourceString(String, ResourceManager, Type)

Creates a localizable resource string with no formatting arguments.

Methods

AreEqual(Object)

Provides the implementation of Equals. Equals will provide a default value if this method throws an exception.

(Inherited from LocalizableString)
Equals(LocalizableString) (Inherited from LocalizableString)
Equals(Object) (Inherited from LocalizableString)
GetHash()

Provides the implementation of GetHashCode. GetHashCode will provide a default value if this method throws an exception.

(Inherited from LocalizableString)
GetHashCode() (Inherited from LocalizableString)
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.

(Inherited from LocalizableString)
ToString() (Inherited from LocalizableString)
ToString(IFormatProvider)

Formats the value of the current instance using the optionally specified format.

(Inherited from 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.

(Inherited from LocalizableString)

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider) (Inherited from LocalizableString)

Applies to