Επεξεργασία

Κοινή χρήση μέσω


MetaForeignKeyColumn.ExtractForeignKey(IDictionary, String) Method

Definition

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

public:
 void ExtractForeignKey(System::Collections::IDictionary ^ dictionary, System::String ^ value);
public:
 virtual void ExtractForeignKey(System::Collections::IDictionary ^ dictionary, System::String ^ value);
public void ExtractForeignKey (System.Collections.IDictionary dictionary, string value);
member this.ExtractForeignKey : System.Collections.IDictionary * string -> unit
abstract member ExtractForeignKey : System.Collections.IDictionary * string -> unit
override this.ExtractForeignKey : System.Collections.IDictionary * string -> unit
Public Sub ExtractForeignKey (dictionary As IDictionary, value As String)

Parameters

dictionary
IDictionary

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

value
String

The value of the foreign key.

Remarks

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.

Applies to