TextOptionsExtensions.WithFormatProvider<T> Method

Returns an options object with the FormatProvider property changed to the specified value.

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static T WithFormatProvider<T>(
	this T options,
	IFormatProvider formatProvider
)
where T : TextOptions

Parameters

options  T
The TextOptions object to start from.
formatProvider  IFormatProvider
The new value for the FormatProvider property.

Type Parameters

T

Return Value

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type T. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also