EntityValueBase.ConvertChildrenCollection<TChildType> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.