IMSBuildProjectDataService.GetProjectItems(String, CancellationToken) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
MSBuildProjectItemDataÖğe türüyle eşleşen örneklerin koleksiyonunu alır.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildProjectItemData>> GetProjectItems (string itemType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProjectItems : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildProjectItemData>>
Public Function GetProjectItems (itemType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyCollection(Of MSBuildProjectItemData))
Parametreler
- itemType
- String
Proje öğesinin türü
- cancellationToken
- CancellationToken
İsteğe bağlı iptal belirteci
Döndürülenler
Eşleşen örneklerin koleksiyonu MSBuildProjectItemData