DbUpdatableDataRecord.GetDouble 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
將欄位值擷取成雙精度浮點數 (Double)。
命名空間: System.Data.Entity.Core.Objects
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Overrides Function GetDouble ( _
i As Integer _
) As Double
'用途
Dim instance As DbUpdatableDataRecord
Dim i As Integer
Dim returnValue As Double
returnValue = instance.GetDouble(i)
public override double GetDouble(
int i
)
public:
virtual double GetDouble(
int i
) override
abstract GetDouble :
i:int -> float
override GetDouble :
i:int -> float
public override function GetDouble(
i : int
) : double
參數
- i
類型:System.Int32
欄位的序數。
傳回值
類型:System.Double
成為雙精度浮點數的欄位值。