ErrorsCollectionClass.Add 方法

定义

此类型是用于 Coclass 或 Coclass 成员(托管代码需要它来实现 COM 互操作性)的包装。 此类不适合在代码中使用。

public virtual Microsoft.Office.Interop.InfoPath.ErrorObject Add (object varNode, string bstrConditionName, string bstrShortErrorMessage, string bstrDetailedErrorMessage = "", int lErrorCode = 0, string bstrType = "modeless");
abstract member Add : obj * string * string * string * int * string -> Microsoft.Office.Interop.InfoPath.ErrorObject
override this.Add : obj * string * string * string * int * string -> Microsoft.Office.Interop.InfoPath.ErrorObject
Public Overridable Function Add (varNode As Object, bstrConditionName As String, bstrShortErrorMessage As String, Optional bstrDetailedErrorMessage As String = "", Optional lErrorCode As Integer = 0, Optional bstrType As String = "modeless") As ErrorObject

参数

varNode
Object
bstrConditionName
String
bstrShortErrorMessage
String
bstrDetailedErrorMessage
String
lErrorCode
Int32
bstrType
String

返回

实现

适用于