Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TryGetMetaTable Method (INamingContainer, MetaTable)

DynamicDataExtensions.TryGetMetaTable Method (INamingContainer, 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 INamingContainer control,
	out MetaTable table


Type: System.Web.UI.INamingContainer

The INamingContainer object 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 INamingContainer. 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
© 2015 Microsoft