.NET Framework Class Library
UserInterface.MultiSelectionListFromQuery Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.MultiSelectionListFromQuery Method

Shows a dialog box that allows a multiple selection between entries retrieved from a query on the database.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function MultiSelectionListFromQuery ( _

 query As String, _
 title As String, _
 ByRef choosedvalues As Object(), _
 Optional columns As String() = Nothing _
As Boolean

C#

public bool MultiSelectionListFromQuery(

 string query,
 string title,
 ref Object[] choosedvalues,
 string[] columns = null
)

Visual C++

public:

bool MultiSelectionListFromQuery(
 Stringquery,
 Stringtitle,
 array<Object^>^% choosedvalues,
 array<String^>^ columns = nullptr
)

JavaScript

function multiSelectionListFromQuery(querytitlechoosedvaluescolumns);

Parameters

query

Type: System.String
Query to submit to the database in order to retrieve the list of objects

title

Type: System.String
Dialog box title

choosedvalues

Type: System.Object[]
Output: an array of objects representing the chosen row. The object property names are specified in the column name in the query

columns (Optional)

Type: System.String[]
The list of columns to be shown in the dialog box. If none specified, all columns retrieved will be shown

Return Value

False if the user canceled the selection

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace