パラメータ
- type
- 追加するデータ検証のタイプを示すDataValidationType値。
- errorStyle
- エラーメッセージに使用するエラースタイルを示すDataValidationErrorStyle値。
- operator
- データ検証の演算子を示すDataValidationOperator値。
- formula1
- 最初のデータ検証値(数式またはリスト)を示す文字列値。
- formula2
- <see cref="F:GrapeCity.Spreadsheet.DataValidationOperator.Between" />または<see cref="F:GrapeCity.Spreadsheet.DataValidationOperator.NotBetween" />に対する2番目のデータ検証値を示す文字列値。
戻り値の型
新しく作成されたデータ検証。データ検証を追加できない場合はnull
。