Share via


EntityCollectionConfiguration<TEntityType>.Action Method

Creates a new Action that binds to Collection(EntityType).

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function Action ( _
    name As String _
) As ActionConfiguration
'Usage
Dim instance As EntityCollectionConfiguration 
Dim name As String 
Dim returnValue As ActionConfiguration 

returnValue = instance.Action(name)
public ActionConfiguration Action(
    string name
)
public:
ActionConfiguration^ Action(
    String^ name
)
member Action : 
        name:string -> ActionConfiguration
public function Action(
    name : String
) : ActionConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.ActionConfiguration
An ActionConfiguration to allow further configuration of the Action.

See Also

Reference

EntityCollectionConfiguration<TEntityType> Class

System.Web.Http.OData.Builder Namespace