MetaTable.TryGetTable(Type, MetaTable) 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.
Retrieves the metatable that is associated with the specified type and table.
public:
static bool TryGetTable(Type ^ entityType, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);
public static bool TryGetTable (Type entityType, out System.Web.DynamicData.MetaTable table);
static member TryGetTable : Type * MetaTable -> bool
Public Shared Function TryGetTable (entityType As Type, ByRef table As MetaTable) As Boolean
Parameters
- entityType
- Type
The type of the entity.
- table
- MetaTable
When this method returns, contains the metatable that is associated with the specified type. This parameter is passed uninitialized.
Returns
The metatable that is associated with the given specified and table.
Exceptions
entityType
is null
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.