Partager via


EntityValueBase.TryGetRelatedEntities Method

Definition

Try to get related entities saved through earlier SetRelatedEntities(String, IEnumerable<IEntityValue>).

protected virtual bool TryGetRelatedEntities (string collectionName, out System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ProjectSystem.Query.IEntity>? entities);
abstract member TryGetRelatedEntities : string * seq -> bool
override this.TryGetRelatedEntities : string * seq -> bool
Protected Overridable Function TryGetRelatedEntities (collectionName As String, ByRef entities As IEnumerable(Of IEntity)) As Boolean

Parameters

collectionName
String

The collection name.

entities
IEnumerable<IEntity>

Entity values in the collection.

Returns

true if related entities can be found in the model.

Applies to