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.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | CastPathSegment(IEdmEntityType) | Initializes a new instance of the CastPathSegment class. | 
| .jpeg) | CastPathSegment(String) | Initializes a new instance of the CastPathSegment class. | 
See Also
CastPathSegment Class
System.Web.Http.OData.Routing Namespace
Return to top
CastPathSegment Constructor (IEdmEntityType)
Initializes a new instance of the CastPathSegment class.
Syntax
public CastPathSegment(
    IEdmEntityType castType
)
public:
CastPathSegment(
    IEdmEntityType^ castType
)
new : 
        castType:IEdmEntityType -> CastPathSegment
Public Sub New (
    castType As IEdmEntityType
)
Parameters
- castType 
 Type: Microsoft.Data.Edm.IEdmEntityType- The type of the cast. 
Return to top
CastPathSegment Constructor (String)
Initializes a new instance of the CastPathSegment class.
Syntax
public CastPathSegment(
    string castTypeName
)
public:
CastPathSegment(
    String^ castTypeName
)
new : 
        castTypeName:string -> CastPathSegment
Public Sub New (
    castTypeName As String
)
Parameters
- castTypeName 
 Type: System.String- Name of the cast type. 
Return to top