Partilhar via


IEntityInstance.SwitchView Method (String)

Gets a different view of the external instance.

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

Syntax

'Declaration
Function SwitchView ( _
    specificFinderName As String _
) As IEntityInstance
'Usage
Dim instance As IEntityInstance
Dim specificFinderName As String
Dim returnValue As IEntityInstance

returnValue = instance.SwitchView(specificFinderName)
IEntityInstance SwitchView(
    string specificFinderName
)

Parameters

  • specificFinderName
    Type: System.String

    The name of the specific finder to invoke to get the alternate view.

Return Value

Type: Microsoft.BusinessData.Runtime.IEntityInstance
Same External Item with the given specific finders view.

Remarks

This method will invoke the given specific finder to get the view requested. It can be used to refresh an External Item.

See Also

Reference

IEntityInstance Interface

IEntityInstance Members

SwitchView Overload

Microsoft.BusinessData.Runtime Namespace