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.

C#
public static bool TryGetMetaTable(this System.Web.UI.IDataSource dataSource, out System.Web.DynamicData.MetaTable table);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

TryGetMetaTable(INamingContainer, MetaTable)

Determines whether table metadata is available.

C#
public static bool TryGetMetaTable(this System.Web.UI.INamingContainer control, out System.Web.DynamicData.MetaTable table);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1