Modifica

Condividi tramite


ErrorsCollectionClass.Add Method

Definition

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.

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

Parameters

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

Returns

Implements

Applies to