DynamicDataExtensions.TryGetMetaTable Method

Definition

Determines whether table metadata is available.

Overloads

TryGetMetaTable(IDataSource, MetaTable)

Determines whether table metadata is available.

TryGetMetaTable(INamingContainer, MetaTable)

Determines whether table metadata is available.

TryGetMetaTable(IDataSource, MetaTable)

Determines whether table metadata is available.

public:
[System::Runtime::CompilerServices::Extension]
 static bool TryGetMetaTable(System::Web::UI::IDataSource ^ dataSource, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);
public static bool TryGetMetaTable (this System.Web.UI.IDataSource dataSource, out System.Web.DynamicData.MetaTable table);
static member TryGetMetaTable : System.Web.UI.IDataSource * MetaTable -> bool
<Extension()>
Public Function TryGetMetaTable (dataSource As IDataSource, ByRef table As MetaTable) As Boolean

Parameters

dataSource
IDataSource

The data source that contains the table.

table
MetaTable

When this method returns, contains the table metadata. This parameter is passed uninitialized.

Returns

true if table metadata is available; otherwise, false.

Applies to

TryGetMetaTable(INamingContainer, MetaTable)

Determines whether table metadata is available.

public:
[System::Runtime::CompilerServices::Extension]
 static bool TryGetMetaTable(System::Web::UI::INamingContainer ^ control, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);
public static bool TryGetMetaTable (this System.Web.UI.INamingContainer control, out System.Web.DynamicData.MetaTable table);
static member TryGetMetaTable : System.Web.UI.INamingContainer * MetaTable -> bool
<Extension()>
Public Function TryGetMetaTable (control As INamingContainer, ByRef table As MetaTable) As Boolean

Parameters

control
INamingContainer

The INamingContainer object that contains the table.

table
MetaTable

When this method returns, contains the table metadata. This parameter is passed uninitialized.

Returns

true if table metadata is available; otherwise, false.

Applies to