MetaTable::GetTable Method (Type^)
.NET Framework (current version)
Retrieves the metatable that is associated with the specified type.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- entityType
-
Type:
System::Type^
The type of the entity.
Return Value
Type: System.Web.DynamicData::MetaTable^The metatable that is associated with the specified type.
| Exception | Condition |
|---|---|
| InvalidOperationException | The TryGetTable(Type^, MetaTable^%) method that was called by this method returned false. |
This method calls TryGetTable(Type^, MetaTable^%). If TryGetTable(Type^, MetaTable^%) returns false, an InvalidOperationException exception is thrown.
.NET Framework
Available since 4.0
Available since 4.0
Show: