Partilhar via


IEntityInstance.GetFormatted Method (IField)

Gets the value of the specified field after applying complex formatting.

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

Syntax

'Declaration
Function GetFormatted ( _
    field As IField _
) As Object
'Usage
Dim instance As IEntityInstance
Dim field As IField
Dim returnValue As Object

returnValue = instance.GetFormatted(field)
Object GetFormatted(
    IField field
)

Parameters

Return Value

Type: System.Object
String representation of the complex structure represented by the given field.

Remarks

Complex formatting is used to create a string representation for complex objects so that they can be displayed in a UI that doesn’t allow representation of structures.

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

IEntityInstance Interface

IEntityInstance Members

GetFormatted Overload

Microsoft.BusinessData.Runtime Namespace