UI.ShowModalDialog 方法

此成员是用于 COM 接口(已被更高的版本取代)的成员的包装。此更高版本的接口会实现较早版本的接口的所有成员和其他新成员。有关在更高版本接口中实现的此成员的信息(包括用法、标记和示例),请参阅UI2.ShowModalDialog.

命名空间:  Microsoft.Office.Interop.InfoPath.SemiTrust
程序集:  Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)

语法

声明
Function ShowModalDialog ( _
    bstrName As String, _
    varArguments As Object, _
    varHeight As Object, _
    varWidth As Object, _
    varTop As Object, _
    varLeft As Object _
) As Object
用法
Dim instance As UI
Dim bstrName As String
Dim varArguments As Object
Dim varHeight As Object
Dim varWidth As Object
Dim varTop As Object
Dim varLeft As Object
Dim returnValue As Object

returnValue = instance.ShowModalDialog(bstrName, _
    varArguments, varHeight, varWidth, _
    varTop, varLeft)
Object ShowModalDialog(
    string bstrName,
    Object varArguments,
    Object varHeight,
    Object varWidth,
    Object varTop,
    Object varLeft
)

参数

返回值

类型:System.Object

另请参阅

引用

UI 接口

UI 成员

Microsoft.Office.Interop.InfoPath.SemiTrust 命名空间