Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

static member TryGetMetaTable : 
        dataSource:IDataSource * 
        table:MetaTable byref -> bool

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.

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
Show:
© 2015 Microsoft