ActionParameterCollection.Create method (Byte, Boolean, Byte)

Create a new ActionParameter using the specified ordinal, cache setting, and parameter index.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Create ( _
    idOrdinal As Byte, _
    isCached As Boolean, _
    index As Byte _
) As ActionParameter
'Usage
Dim instance As ActionParameterCollection
Dim idOrdinal As Byte
Dim isCached As Boolean
Dim index As Byte
Dim returnValue As ActionParameter

returnValue = instance.Create(idOrdinal, _
    isCached, index)
public ActionParameter Create(
    byte idOrdinal,
    bool isCached,
    byte index
)

Parameters

  • idOrdinal
    Type: System.Byte

    The ordinal of the identifier field in the external content type's specific finder View.

  • isCached
    Type: System.Boolean

    true if the parameter is cached; otherwise, false.

Return value

Type: Microsoft.SharePoint.BusinessData.Administration.ActionParameter
The new ActionParameter.

Exceptions

Exception Condition
ArgumentException

The external content type does not have an identifier with the specified ordinal.

See also

Reference

ActionParameterCollection class

ActionParameterCollection members

Create overload

Microsoft.SharePoint.BusinessData.Administration namespace