DynamicDataExtensions::GetDefaultValues Method (INamingContainer^)

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

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

public:
[ExtensionAttribute]
static IDictionary<String^, Object^>^ GetDefaultValues(
	INamingContainer^ control
)

Parameters

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
Show: