FilterQueryOption Constructor
Initialize a new instance of FilterQueryOption based on the raw $filter value and an EdmModel from ODataQueryContext .
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Sub New ( _
rawValue As String, _
context As ODataQueryContext _
)
'Usage
Dim rawValue As String
Dim context As ODataQueryContext
Dim instance As New FilterQueryOption(rawValue, _
context)
public FilterQueryOption(
string rawValue,
ODataQueryContext context
)
public:
FilterQueryOption(
String^ rawValue,
ODataQueryContext^ context
)
new :
rawValue:string *
context:ODataQueryContext -> FilterQueryOption
public function FilterQueryOption(
rawValue : String,
context : ODataQueryContext
)
Parameters
- rawValue
Type: System.String
The raw value for $filter query. It can be null or empty.
- context
Type: System.Web.Http.OData.ODataQueryContext
The ODataQueryContext which contains the IEdmModel and some type information