IVsExtensionRepository.CreateQuery<T> - метод (Boolean)
Пространство имен: Microsoft.VisualStudio.ExtensionManager
Сборка: Microsoft.VisualStudio.ExtensionManager (в Microsoft.VisualStudio.ExtensionManager.dll)
Синтаксис
'Декларация
Function CreateQuery(Of T As {New, IRepositoryEntry}) ( _
includeTypeInQuery As Boolean _
) As IVsExtensionRepositoryQuery(Of T)
IVsExtensionRepositoryQuery<T> CreateQuery<T>(
bool includeTypeInQuery
)
where T : new(), IRepositoryEntry
generic<typename T>
where T : gcnew(), IRepositoryEntry
IVsExtensionRepositoryQuery<T>^ CreateQuery(
bool includeTypeInQuery
)
abstract CreateQuery :
includeTypeInQuery:bool -> IVsExtensionRepositoryQuery<'T> when 'T : new() and IRepositoryEntry
JScript не поддерживает универсальные типы и методы.
Параметры типа
- T
Параметры
includeTypeInQuery
Тип: BooleanDetermines whether to specify type information for the properties of the IRepositoryEntry object included in the query.
Возвращаемое значение
Тип: Microsoft.VisualStudio.ExtensionManager.IVsExtensionRepositoryQuery<T>
An IVsExtensionRepositoryQuery<T> object.
Заметки
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
Use this method to create an IVsExtensionRepositoryQuery<T> object and set properties on an IRepositoryEntry object to be carried by the query.
The query is built by using LINQ syntax, through the IQueryable interface. For more information about LINQ programming, see LINQ General Programming Guide.
IRepositoryEntry implementation should include properties for whatever metadata is required.
For more information, see IVsExtensionRepositoryQuery<T> and IRepositoryEntry.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Для получения дополнительной информации см. Использование библиотек из не вполне надежного кода.