.NET Framework Class Library
UserInterface.ShowConfirmationDialog Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.ShowConfirmationDialog Method

Shows the default confirmation dialog proposed by PDM in many cases for selecting documents.

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

Syntax

Visual Basic

Public Function ShowConfirmationDialog ( _

 title As String, _
 selection As String, _
 Optional okDelRec As Boolean = False, _
 Optional okDelFile As Boolean = False, _
 Optional silent As Boolean = False _
As String

C#

public string ShowConfirmationDialog(

 string title,
 string selection,
 bool okDelRec = false,
 bool okDelFile = false,
 bool silent = false
)

Visual C++

public:

StringShowConfirmationDialog(
 Stringtitle,
 Stringselection,
 bool okDelRec = false,
 bool okDelFile = false,
 bool silent = false
)

JavaScript

function showConfirmationDialog(titleselectionokDelRecokDelFilesilent);

Parameters

title

Type: System.String
title of the dialog

selection

Type: System.String
comma separated list of the documents unique ids to be listed in the confirmation dialog

okDelRec (Optional)

Type: System.Boolean
Optional. TRUE: delete the records defined in the selection, FALSE: don't delete.

okDelFile (Optional)

Type: System.Boolean
Optional. TRUE: delete the files of the records defined in the selection, FALSE: don't delete.

silent (Optional)

Type: System.Boolean
Optional. TRUE: all the operations will be done silently, without any user interface. FALSE: otherwise.

Return Value

comma separated list of the selected documents unique ids

Remarks

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace