MetaForeignKeyColumn::ExtractForeignKey Method (IDictionary^, String^)

 
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.

Saves the value of a foreign key in the specified dictionary.

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

public:
virtual void ExtractForeignKey(
	IDictionary^ dictionary,
	String^ value
) sealed

Parameters

dictionary
Type: System.Collections::IDictionary^

A dictionary object that contains the new values for a data field.

value
Type: System::String^

The value of the foreign key.

The ExtractForeignKey method is used to save the value of a foreign key in the dictionary that contains all the new values for a data field. Typically, the ExtractForeignKey method is used when a new value is selected from a DropDownList control for the foreign key field.

.NET Framework
Available since 3.5
Return to top
Show: