DynamicDataExtensions.GetDefaultValues Method (INamingContainer)

.NET Framework (current version)

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

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

public static IDictionary<string, object> GetDefaultValues(
	this INamingContainer control


Type: System.Web.UI.INamingContainer

The data control 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 INamingContainer object.

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

.NET Framework
Available since 4.0
Return to top