Get an entity by its type

Namespace: Contracts.Expressions.Properties
Assembly: Contracts (in Contracts.dll)

Public Overridable Function GetEntity(Of  _ 
T As {Class, ISynergyEntity})( _ 
ByVal id As EntityID
) As ISynergyEntity
This language is not supported or no code example is available.
public virtual ISynergyEntity GetEntity<T>( 
EntityID id 

where T : class, ISynergyEntity
This language is not supported or no code example is available.
generic<typename T> 
where T : ref class, ISynergyEntity
public:  
virtual ISynergyEntity^ GetEntity( 
EntityID^ id 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

<default>

Parameters

id
Type: EntityID

<default>

Return Value

Type: ISynergyEntity

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1