IReadOnlyElementType.GetPrecision 方法

定义

获取集合的元素中允许的数据的精度。 例如,如果元素类型为 Decimal,则这是最大位数。

public int? GetPrecision ();
abstract member GetPrecision : unit -> Nullable<int>
Public Function GetPrecision () As Nullable(Of Integer)

返回

精度;如果未定义任何值, null 则为 。

适用于