IVsExtensionRepositoryQuery<T> Interface

 

Used to populate the list of available extensions in an extension manager.

Namespace:   Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

generic<typename T>
where T : gcnew(), IRepositoryEntry
public interface class IVsExtensionRepositoryQuery : IOrderedQueryable<T>, 
	IQueryable<T>, IEnumerable<T>, IEnumerable, IQueryable, IOrderedQueryable

NameDescription
System_CAPS_pubpropertyElementType

(Inherited from IQueryable.)

System_CAPS_pubpropertyExpression

(Inherited from IQueryable.)

System_CAPS_pubpropertyProvider

(Inherited from IQueryable.)

System_CAPS_pubpropertySearchText

NameDescription
System_CAPS_pubmethodExecuteAsync()

Asynchronously executes an IVsExtensionRepositoryQuery<T> query.

System_CAPS_pubmethodExecuteAsync(Object^)

Asynchronously executes an IVsExtensionRepositoryQuery<T> query.

System_CAPS_pubmethodGetEnumerator()

(Inherited from IEnumerable<T>.)

NameDescription
System_CAPS_pubeventExecuteCompleted

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

This query is built by using LINQ syntax, through the IQueryable interface, to determine what extension properties to filter on. The query is then sent to the extension repository service, which queries the web service where the extensions are located and tries to translate the results into the requested object.

The IRepositoryEntry implementation should include properties that help to identify an extension to be downloaded, for example, title, date modified, and some category information. However, the extension repository service can only populate data that corresponds to key/value pairs that are offered by the web service that is associated with the extension gallery provider. For a partial list of properties that are supported by the extension repository service, see IRepositoryEntry.

System_CAPS_noteNote

The default extension gallery provider is Visual Studio Gallery 

The results of the query are returned in the E:Microsoft.VisualStudio.ExtensionManager.IVsExtensionRepositoryQuery.ExecuteCompleted event as the Results property of the ExecuteCompletedEventArgs.

Return to top
Show: