Partager via


ODataPathTemplate Constructor

 

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ODataPathTemplate(IList<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPath class.

System_CAPS_pubmethod ODataPathTemplate(ODataPathSegmentTemplate[])

Initializes a new instance of the ODataPathTemplate class.

See Also

ODataPathTemplate Class
System.Web.OData.Routing Namespace

Return to top

ODataPathTemplate Constructor (IList<ODataPathSegmentTemplate>)

Initializes a new instance of the ODataPath class.

Syntax

public ODataPathTemplate(
    IList<ODataPathSegmentTemplate> segments
)
public:
ODataPathTemplate(
    IList<ODataPathSegmentTemplate^>^ segments
)
new : 
        segments:IList<ODataPathSegmentTemplate> -> ODataPathTemplate
Public Sub New (
    segments As IList(Of ODataPathSegmentTemplate)
)

Parameters

Return to top

ODataPathTemplate Constructor (ODataPathSegmentTemplate[])

Initializes a new instance of the ODataPathTemplate class.

Syntax

public ODataPathTemplate(
    params ODataPathSegmentTemplate[] segments
)
public:
ODataPathTemplate(
    ... array<ODataPathSegmentTemplate^>^ segments
)
new : 
        [<ParamArrayAttribute>] segments:ODataPathSegmentTemplate[] -> ODataPathTemplate
Public Sub New (
    ParamArray segments As ODataPathSegmentTemplate()
)

Parameters

Return to top