ActionPathSegment Constructor
Namespace: System.Web.Http.OData.Routing
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
ActionPathSegment(IEdmFunctionImport) | Initializes a new instance of the ActionPathSegment class. |
|
ActionPathSegment(String) | Initializes a new instance of the ActionPathSegment class. |
See Also
ActionPathSegment Class
System.Web.Http.OData.Routing Namespace
Return to top
ActionPathSegment Constructor (IEdmFunctionImport)
Initializes a new instance of the ActionPathSegment class.
Syntax
public ActionPathSegment(
IEdmFunctionImport action
)
public:
ActionPathSegment(
IEdmFunctionImport^ action
)
new :
action:IEdmFunctionImport -> ActionPathSegment
Public Sub New (
action As IEdmFunctionImport
)
Parameters
action
Type: Microsoft.Data.Edm.IEdmFunctionImportThe action being invoked.
Return to top
ActionPathSegment Constructor (String)
Initializes a new instance of the ActionPathSegment class.
Syntax
public ActionPathSegment(
string actionName
)
public:
ActionPathSegment(
String^ actionName
)
new :
actionName:string -> ActionPathSegment
Public Sub New (
actionName As String
)
Parameters
actionName
Type: System.StringName of the action.
Return to top