ODataPathTemplate.TryMatch Method (ODataPath, IDictionary<String, Object>)

 

Matches the current template with an OData path.

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

Syntax

public bool TryMatch(
    ODataPath path,
    IDictionary<string, object> values
)
public:
bool TryMatch(
    ODataPath^ path,
    IDictionary<String^, Object^>^ values
)
member TryMatch : 
        path:ODataPath *
        values:IDictionary<string, Object> -> bool
Public Function TryMatch (
    path As ODataPath,
    values As IDictionary(Of String, Object)
) As Boolean

Parameters

Return Value

Type: System.Boolean

true in case of a match; otherwise, false.

See Also

ODataPathTemplate Class
System.Web.OData.Routing Namespace

Return to top