Share via


UIObjectClass.Confirm method

This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Public Overridable Function Confirm ( _
    bstrPrompt As String, _
    lButtons As XdConfirmButtons _
) As XdConfirmChoice
'Usage
Dim instance As UIObjectClass
Dim bstrPrompt As String
Dim lButtons As XdConfirmButtons
Dim returnValue As XdConfirmChoice

returnValue = instance.Confirm(bstrPrompt, _
    lButtons)
public virtual XdConfirmChoice Confirm(
    string bstrPrompt,
    XdConfirmButtons lButtons
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.XdConfirmChoice

Implements

UI2.Confirm(String, XdConfirmButtons)

See also

Reference

UIObjectClass class

UIObjectClass members

Microsoft.Office.Interop.InfoPath namespace