Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | ODataPathTemplate(IList<ODataPathSegmentTemplate>) | Initializes a new instance of the ODataPath class. | 
| .jpeg) | 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
- segments 
 Type: System.Collections.Generic.IList<ODataPathSegmentTemplate>- The path segments for the path. 
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
- segments 
 Type: System.Web.OData.Routing.ODataPathSegmentTemplate[]- The path segment templates for the path. 
Return to top