Partilhar via


IEntityInstance.GetFormatted Method (String)

Gets the value of the field with the specified dotted path after applying complex formatting.

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

Syntax

'Declaration
Function GetFormatted ( _
    fieldName As String _
) As Object
'Usage
Dim instance As IEntityInstance
Dim fieldName As String
Dim returnValue As Object

returnValue = instance.GetFormatted(fieldName)
Object GetFormatted(
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    The dotted path of a field in the External Item that represents a complex structure.

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.

See Also

Reference

IEntityInstance Interface

IEntityInstance Members

GetFormatted Overload

Microsoft.BusinessData.Runtime Namespace