IAsyncQueryDefinition Interface
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.
Information inside Microsoft.VisualStudio.ProjectSystem.Query.AsyncQueryable to pass to the IQueryByRelationshipDataProvider2 to create runtime data provider. The reason we don't pass Microsoft.VisualStudio.ProjectSystem.Query.AsyncQueryable to the provider directly is that we have strong type query for local queries and weak type one for remote queries. It would be too easy for a provider to depend on strong type contract without realizing it won't work for remote queries.
public interface IAsyncQueryDefinition
type IAsyncQueryDefinition = interface
Public Interface IAsyncQueryDefinition
Properties
MaxCount |
Gets conditions on the number of items to be collected. |
RequiredChildCollections |
Gets the set of collections to be accessed in the query. |
RequiredProperties |
Gets a properties required by query consumer and all external filtering. |
ResultElementType |
Gets the type of elements in the query result. |
Methods
HasChildQuery(String, IAsyncQueryDefinition) |
Gets whether the query retrieves data from a child collection. |
HasCollectionFilter(String, ImmutableArray<Object>) |
Gets whether the query is using special collection filtering method. |