初始化 EdmDecimalConstant 類別的新執行個體。
命名空間: Microsoft.Data.Edm.Library.Values
組件: Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)
語法
'宣告
Public Sub New ( _
type As IEdmDecimalTypeReference, _
value As Decimal _
)
'用途
Dim type As IEdmDecimalTypeReference
Dim value As Decimal
Dim instance As New EdmDecimalConstant(type, value)
public EdmDecimalConstant(
IEdmDecimalTypeReference type,
decimal value
)
public:
EdmDecimalConstant(
IEdmDecimalTypeReference^ type,
Decimal value
)
new :
type:IEdmDecimalTypeReference *
value:decimal -> EdmDecimalConstant
public function EdmDecimalConstant(
type : IEdmDecimalTypeReference,
value : decimal
)
參數
- type
型別:Microsoft.Data.Edm.IEdmDecimalTypeReference
十進位的型別。
- value
型別:System.Decimal
此值所表示的十進位值。