IFieldValueDictionary.CreateCollectionInstance Method
Creates a new instance of the collection that the dot notation refers to.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function CreateCollectionInstance ( _
fieldDotNotation As String, _
size As Integer _
) As Object
'Usage
Dim instance As IFieldValueDictionary
Dim fieldDotNotation As String
Dim size As Integer
Dim returnValue As Object
returnValue = instance.CreateCollectionInstance(fieldDotNotation, _
size)
Object CreateCollectionInstance(
string fieldDotNotation,
int size
)
Parameters
fieldDotNotation
Type: System.StringThe path to the collection.
size
Type: System.Int32The size of the collection.
Return Value
Type: System.Object
The instantiated collection.
Remarks
For more information about using dot notation, see Using Dot Notation in the Business Data Connectivity (BDC) Service.
Note
Note that the created object will not be set to the field at the given path.