MetaTable.TryGetTable(Type, MetaTable) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取與指定型別及資料表相關聯的元表。
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
參數
- entityType
- Type
實體的類型。
- table
- MetaTable
當此方法回傳時,包含與指定型別相關的元值。 這個參數會未初始化傳遞。
傳回
與指定與表格相關聯的元值。
例外狀況
entityType 是 null。