CastPathSegment Constructor
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
CastPathSegment(IEdmEntityType) | Initializes a new instance of the CastPathSegment class. |
|
CastPathSegment(String) | Initializes a new instance of the CastPathSegment class. |
See Also
CastPathSegment Class
System.Web.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.OData.Edm.IEdmEntityTypeThe 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.StringName of the cast type.
Return to top