DynamicDataExtensions.TryGetMetaTable Method (IDataSource, MetaTable)

.NET Framework 4.6 and 4.5

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


Type: System.Web.UI.IDataSource

The data source that contains the 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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft