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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.