MetaTable.TryGetTable(Type, MetaTable) Método
Definição
Recupera o metatable associado ao tipo e à tabela especificados.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
Parâmetros
- entityType
- Type
O tipo da entidade.The type of the entity.
- table
- MetaTable
Quando este método é retornado, contém o metatable associado ao tipo especificado.When this method returns, contains the metatable that is associated with the specified type. Este parâmetro é passado não inicializado.This parameter is passed uninitialized.
Retornos
O metatable associado à tabela determinada especificada.The metatable that is associated with the given specified and table.
Exceções
entityType é null.entityType is null.