共用方式為


IVsExtensionRepository.CreateQuery<T> Method (Boolean, Boolean)

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

Syntax

'宣告
Function CreateQuery(Of T As {New, IRepositoryEntry}) ( _
    includeTypeInQuery As Boolean, _
    includeSkuInQuery As Boolean _
) As IVsExtensionRepositoryQuery(Of T)
IVsExtensionRepositoryQuery<T> CreateQuery<T>(
    bool includeTypeInQuery,
    bool includeSkuInQuery
)
where T : new(), IRepositoryEntry
generic<typename T>
where T : gcnew(), IRepositoryEntry
IVsExtensionRepositoryQuery<T>^ CreateQuery(
    bool includeTypeInQuery, 
    bool includeSkuInQuery
)
abstract CreateQuery : 
        includeTypeInQuery:bool * 
        includeSkuInQuery:bool -> IVsExtensionRepositoryQuery<'T>  when 'T : new() and IRepositoryEntry
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.IVsExtensionRepositoryQuery<T>

.NET Framework Security

See Also

Reference

IVsExtensionRepository Interface

CreateQuery Overload

Microsoft.VisualStudio.ExtensionManager Namespace