DynamicDataExtensions.GetDefaultValues Method (IDataSource)

.NET Framework (current version)
 
System_CAPS_noteNote

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 source.

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

<ExtensionAttribute>
Public Shared Function GetDefaultValues (
	dataSource As IDataSource
) As IDictionary(Of String, Object)

Parameters

dataSource
Type: System.Web.UI.IDataSource

The data source 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 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: