初始化 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
此值所表示的十进制值。