'Declaration
Function Add( _ ByVal type As DataValidationType, _ Optional ByVal errorStyle As DataValidationErrorStyle, _ Optional ByVal operator As DataValidationOperator, _ Optional ByVal formula1 As String, _ Optional ByVal formula2 As String _ ) As IValidation
'使用法
Dim instance As IValidation Dim type As DataValidationType Dim errorStyle As DataValidationErrorStyle Dim operator As DataValidationOperator Dim formula1 As String Dim formula2 As String Dim value As IValidation value = instance.Add(type, errorStyle, operator, formula1, formula2)
null
。