Table of Contents

Interface IObjectToString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains different methods which convert object to string.

public interface IObjectToString

Methods

ToString(object?, object)

Converts the value to its equivalent string representation.

ToString(object?, object, ITypeDescriptorContext?, CultureInfo?, bool)

Converts the value to its equivalent string representation, using the specified context and culture information.

ToString(object?, object, IFormatProvider?)

Converts the value to its equivalent string representation using the specified culture-specific format information.

ToString(object?, object, string?)

Converts the value to its equivalent string representation, using the specified format.

ToString(object?, object, string?, IFormatProvider?)

Converts the value to its equivalent string representation using the specified format and culture-specific format information.

TryConvert(object?, object, IObjectToStringOptions?, out string?)

Tries to convert value to string using the specified arguments.