DynamicDataExtensions.GetDefaultValues Method (INamingContainer)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Shared Function GetDefaultValues (
	control As INamingContainer
) As IDictionary(Of String, Object)


Type: System.Web.UI.INamingContainer

The data control for which to get the default values.

Return Value

Type: System.Collections.Generic.IDictionary(Of 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