Share via


ODataModelBuilder.Action Method (String)

 

Adds a non-bindable action to the builder.

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

Syntax

public virtual ActionConfiguration Action(
    string name
)
public:
virtual ActionConfiguration^ Action(
    String^ name
)
abstract Action : 
        name:string -> ActionConfiguration
override Action : 
        name:string -> ActionConfiguration
Public Overridable Function Action (
    name As String
) As ActionConfiguration

Parameters

Return Value

Type: System.Web.Http.OData.Builder.ActionConfiguration

The configuration object for the specified action.

See Also

ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace

Return to top