Skip to content

a19b2feb aebc d3de db70 ed05563395be

Axel Kesseler edited this page Oct 3, 2019 · 2 revisions

CapacityFormatter.Format Method

Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.

Namespace: Plexdata.Formatters
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1

Syntax

C#

public string Format(
	string format,
	Object value,
	IFormatProvider provider
)

Parameters

 

format
Type: System.String
A format string containing formatting specifications.
value
Type: System.Object
An object to format.
provider
Type: System.IFormatProvider
An object that supplies format information about the current instance.

Return Value

Type: String
The string representation of the value, formatted as specified by format and provider.

Implements

ICustomFormatter.Format(String, Object, IFormatProvider)

Remarks

This method converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information. An empty string is returned in case of the value is null. In contrast to that, the standard object formatting behaviour takes place in case of the provider is not an instance of this class.

See Also

Reference

CapacityFormatter Class
Plexdata.Formatters Namespace

Clone this wiki locally