Partager via


EntityValueBase.ConvertChildrenCollection<TChildType> Method

Definition

Converts a generic children collection to a specific collection.

protected System.Collections.Generic.IReadOnlyCollection<TChildType> ConvertChildrenCollection<TChildType> (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue> children);
member this.ConvertChildrenCollection : seq<Microsoft.VisualStudio.ProjectSystem.Query.IEntityValue> -> System.Collections.Generic.IReadOnlyCollection<'ChildType>
Protected Function ConvertChildrenCollection(Of TChildType) (children As IEnumerable(Of IEntityValue)) As IReadOnlyCollection(Of TChildType)

Type Parameters

TChildType

Element type of the new collection.

Parameters

children
IEnumerable<IEntityValue>

A generic entity collection.

Returns

IReadOnlyCollection<TChildType>

A specific collection.

Applies to