Share via


RuntimeElementType.GetPrecision Method

Definition

Gets the precision of data that is allowed in elements of the collection. For example, if the element type is a Decimal, then this is the maximum number of digits.

[System.Diagnostics.DebuggerStepThrough]
public virtual int? GetPrecision ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member GetPrecision : unit -> Nullable<int>
override this.GetPrecision : unit -> Nullable<int>
Public Overridable Function GetPrecision () As Nullable(Of Integer)

Returns

The precision, or null if none is defined.

Attributes

Applies to