GetDefaultValues Method (IDataSource)
Collapse the table of content
Expand the table of content

DynamicDataExtensions.GetDefaultValues Method (IDataSource)

.NET Framework (current version)
 

Gets the collection of the default values for the specified data source.

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

public static IDictionary<string, object> GetDefaultValues(
	this IDataSource dataSource
)

Parameters

dataSource
Type: System.Web.UI.IDataSource

The data source for which to get the default values.

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>

The collection of default values that are associated with the IDataSource object.

The collection of default values is set by using the SetMetaTable or EnableDynamicData methods.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft