TextOptionsExtensions.WithFormatProvider<T> Method

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

Definition

Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3
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