次の方法で共有


RuntimeElementType.GetPrecision メソッド

定義

コレクションの要素で許可されるデータの有効桁数を取得します。 たとえば、要素の型が の Decimal場合、これは最大桁数です。

[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)

戻り値

有効桁数。何 null も定義されていない場合は 。

属性

適用対象