This documentation is archived and is not being maintained.
MetaTable::GetTable Method
Visual Studio 2010
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::MetaTableThe 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: