Partager via


ComplexCastPathSegment Class

 

An ODataPathSegment implementation representing a complex type cast.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Routing.ODataPathSegmentTemplate
    System.Web.OData.Routing.ODataPathSegment
      System.Web.OData.Routing.ComplexCastPathSegment

Syntax

public class ComplexCastPathSegment : ODataPathSegment
public ref class ComplexCastPathSegment : ODataPathSegment
type ComplexCastPathSegment = 
    class
        inherit ODataPathSegment
    end
Public Class ComplexCastPathSegment
    Inherits ODataPathSegment

Constructors

Name Description
System_CAPS_pubmethod ComplexCastPathSegment(IEdmComplexType)

Initializes a new instance of the ComplexCastPathSegment class.

System_CAPS_pubmethod ComplexCastPathSegment(String)

Initializes a new instance of the ComplexCastPathSegment class.

Properties

Name Description
System_CAPS_pubproperty CastType

Gets the type of the cast.

System_CAPS_pubproperty CastTypeName

Gets the name of the cast type.

System_CAPS_pubproperty SegmentKind

Gets the segment kind for the current segment.(Overrides ODataPathSegment.SegmentKind.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEdmType(IEdmType)

Gets the EDM type for this segment.(Overrides ODataPathSegment.GetEdmType(IEdmType).)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetNavigationSource(IEdmNavigationSource)

(Overrides ODataPathSegment.GetNavigationSource(IEdmNavigationSource).)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a String that represents this instance.(Overrides Object.ToString().)

System_CAPS_pubmethod TryMatch(ODataPathSegment, IDictionary<String, Object>)

(Overrides ODataPathSegmentTemplate.TryMatch(ODataPathSegment, IDictionary<String, Object>).)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Routing Namespace

Return to top