## ErrorCheckOption class

Belirli aralıklarda uygulanan hata denetimi ayarı.

```csharp
public class ErrorCheckOption
```

## yöntemler

| İsim | Tanım |
| --- | --- |
| [AddRange](../../aspose.cells/errorcheckoption/addrange)(CellArea) | Bu ayardan etkilenen bir aralık ekler. |
| [GetCountOfRange](../../aspose.cells/errorcheckoption/getcountofrange)() | Bu ayardan etkilenen aralıkların sayısını alır. |
| [GetRange](../../aspose.cells/errorcheckoption/getrange)(int) | Belirtilen dizine göre bu ayarın etkilenen aralığını alır. |
| [IsErrorCheck](../../aspose.cells/errorcheckoption/iserrorcheck)(ErrorCheckType) | Verilen hata türünün kontrol edilip edilmeyeceğini kontrol eder. |
| [RemoveRange](../../aspose.cells/errorcheckoption/removerange)(int) | Belirtilen dizine göre bir aralığı kaldırır. |
| [SetErrorCheck](../../aspose.cells/errorcheckoption/seterrorcheck)(ErrorCheckType, bool) | Verilen hata türünün kontrol edilip edilmeyeceğini ayarlar. |

### Örnekler

```csharp

[C#]

  Workbook workbook = new Workbook();
  ErrorCheckOptionCollection opts = workbook.Worksheets[0].ErrorCheckOptions;
  int optionIdx = opts.Add();
  ErrorCheckOption opt = opts[optionIdx];
  opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistFormula, false);
  opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistRange, false);
  opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextDate, false);
  opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextNumber, false);
  opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.Validation, false);
  opt.AddRange(CellArea.CreateCellArea("A1", "B10"));
  workbook.Save(@"Book1.xlsx");
  
[Visual Basic]

   Dim workbook As Workbook = New Workbook()
   Dim opts As ErrorCheckOptionCollection = workbook.Worksheets(0).ErrorCheckOptions
   Dim optionIdx As Integer = opts.Add()
   Dim opt As ErrorCheckOption = opts(optionIdx)
   opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistFormula, False)
   opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistRange, False)
   opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextDate, False)
   opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextNumber, False)
   opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.Validation, False)
   opt.AddRange(CellArea.CreateCellArea("A1", "B10"))
   workbook.Save("Book1.xlsx")
   
```

### Ayrıca bakınız

* ad alanı [Aspose.Cells](../../aspose.cells)
* toplantı [Aspose.Cells](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
