EntityValueBase.TryGetRelatedEntities 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.
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.