| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function FindEntities( _ ByVal type As Type, _ ByVal entityState As EntityState _ ) As IEnumerable | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As EntityManager Dim type As Type Dim entityState As EntityState Dim value As IEnumerable value = instance.FindEntities(type, entityState) | |
| C# | |
|---|---|
public IEnumerable FindEntities( Type type, EntityState entityState ) | |
| C++/CLI | |
|---|---|
public: IEnumerable^ FindEntities( Type^ type, EntityState entityState ) | |
Parameters
- type
- The type of Entity to retrieve
- entityState
- EntityState(s) of entities to return
Return Value
A collection of EntitiesAs the EntityState is a flags enumeration, you can supply multiple OR'ed values to search for multiple entity states. Detached Entities are not associated with an EntityManager and won't be returned.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family