TextOptionsExtensions.WithDecimalType<T> Method

Returns an options object with the DecimalType 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 WithDecimalType<T>(
	this T options,
	Type decimalType
)
where T : TextOptions

Parameters

options  T
The TextOptions object to start from.
decimalType  Type
The new value for the DecimalType 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