初始化 EdmCollectionValue 类的新实例。
命名空间: Microsoft.Data.Edm.Library.Values
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Sub New ( _
type As IEdmCollectionTypeReference, _
elements As IEnumerable(Of IEdmDelayedValue) _
)
用法
Dim type As IEdmCollectionTypeReference
Dim elements As IEnumerable(Of IEdmDelayedValue)
Dim instance As New EdmCollectionValue(type, elements)
public EdmCollectionValue(
IEdmCollectionTypeReference type,
IEnumerable<IEdmDelayedValue> elements
)
public:
EdmCollectionValue(
IEdmCollectionTypeReference^ type,
IEnumerable<IEdmDelayedValue^>^ elements
)
new :
type:IEdmCollectionTypeReference *
elements:IEnumerable<IEdmDelayedValue> -> EdmCollectionValue
public function EdmCollectionValue(
type : IEdmCollectionTypeReference,
elements : IEnumerable<IEdmDelayedValue>
)
参数
- type
类型:Microsoft.Data.Edm.IEdmCollectionTypeReference
对描述此集合值的集合类型的引用。
- elements
类型:System.Collections.Generic.IEnumerable<IEdmDelayedValue>
存储在此集合值中的值的集合。