MetaForeignKeyColumn.ExtractForeignKey Method (IDictionary, String)

 

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 Sub ExtractForeignKey (
	dictionary As IDictionary,
	value As String
)

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: