DynamicDataExtensions.TryGetMetaTable Method (IDataSource, MetaTable)

.NET Framework (current version)
 

Determines whether table metadata is available.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public static bool TryGetMetaTable(
	this IDataSource dataSource,
	out MetaTable table
)

Parameters

dataSource
Type: System.Web.UI.IDataSource

The data source that contains the table.

table
Type: System.Web.DynamicData.MetaTable

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

Return Value

Type: System.Boolean

true if table metadata is available; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show: