Share via


IFieldValueDictionary.Item Property (IField)

Gets or sets the value for the specified field.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Default Property Item ( _
    field As IField _
) As Object
    Get
    Set
'Usage
Dim instance As IFieldValueDictionary
Dim field As IField
Dim value As Object

value = instance(field)

instance(field) = value
Object this[
    IField field
] { get; set; }

Parameters

Property Value

Type: System.Object
The field value.

Remarks

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

IFieldValueDictionary Interface

IFieldValueDictionary Members

Item Overload

Microsoft.BusinessData.Runtime Namespace