IQueryCollectionFilterFallbackProvider.TryCreateFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a filtered data producer block with extra filtering.
public Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryResultFilter<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue>? TryCreateFilter (string filterMethodName, System.Collections.Immutable.ImmutableArray<object?> parameters);
abstract member TryCreateFilter : string * System.Collections.Immutable.ImmutableArray<obj> -> Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryResultFilter<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue>
Public Function TryCreateFilter (filterMethodName As String, parameters As ImmutableArray(Of Object)) As IQueryResultFilter(Of IEntityValue)
Parameters
- filterMethodName
- String
The name of the filtering method.
- parameters
- ImmutableArray<Object>
Parameters used in the query.
Returns
A data filter, if supported.