Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExtractForeignKey Method

MetaForeignKeyColumn::ExtractForeignKey Method

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

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft