Add
Add(GridValidation)
Fügen Sie ein hinzuGridValidation zur Sammlung.
public int Add(GridValidation validation)
| Parameter | Typ | Beschreibung |
|---|---|---|
| validation | GridValidation | Ein Validierungsobjekt. |
Rückgabewert
GridValidation Objektindex.
Siehe auch
- class GridValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add()
Fügen Sie ein hinzuGridValidation zur Sammlung.
public GridValidation Add()
Rückgabewert
GridValidation die hinzugefügte GridValidation-Instanz.
Siehe auch
- class GridValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(string)
Fügen Sie ein hinzuGridValidation auf die Sammlung. Die Validierung wird auf die angegebene Zelle angewendet.
public GridValidation Add(string cellname)
| Parameter | Typ | Beschreibung |
|---|---|---|
| cellname | String | der Name der Zelle. |
Rückgabewert
GridValidation die hinzugefügte GridValidation-Instanz.
Siehe auch
- class GridValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(int, int)
Fügen Sie ein hinzuGridValidation auf die Sammlung. Die Validierung wird auf die angegebene Zelle angewendet.
public GridValidation Add(int row, int col)
| Parameter | Typ | Beschreibung |
|---|---|---|
| row | Int32 | Zeilenindex der Zelle. |
| col | Int32 | Spaltenindex der Zelle. |
Rückgabewert
GridValidation die hinzugefügte GridValidation-Instanz.
Siehe auch
- class GridValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(string, bool, string)
Fügt eine Validierung zu einer angegebenen Zelle nach Zellname hinzu.
public void Add(string cellName, bool isRequired, string regEx)
| Parameter | Typ | Beschreibung |
|---|---|---|
| cellName | String | Name der Rasterzelle. |
| isRequired | Boolean | Wert, der angibt, ob ein Zellenwert erforderlich ist. |
| regEx | String | Regulären Ausdruck. |
Siehe auch
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(int, int, ICustomValidation)
Fügt eine Validierung zu einer angegebenen Zelle am Zeilenspaltenindex hinzu.
public void Add(int row, int col, ICustomValidation customValidation)
| Parameter | Typ | Beschreibung |
|---|---|---|
| row | Int32 | Zeilenindex der Zelle. |
| col | Int32 | Spaltenindex der Zelle. |
| customValidation | ICustomValidation | Benutzerdefiniertes Validierungsobjekt. |
Siehe auch
- interface ICustomValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(int, int, bool, string)
Fügt eine Validierung zu einer angegebenen Zelle am Zeilenspaltenindex hinzu.
public void Add(int row, int col, bool isRequired, string regEx)
| Parameter | Typ | Beschreibung |
|---|---|---|
| row | Int32 | Zeilenindex der Zelle. |
| col | Int32 | Spaltenindex der Zelle. |
| isRequired | Boolean | Wert, der angibt, ob ein Zellenwert erforderlich ist. |
| regEx | String | Regulären Ausdruck. |
Siehe auch
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop
Add(string, ICustomValidation)
Fügt eine Validierung zu einer angegebenen Zelle nach Zellname hinzu.
public void Add(string cellName, ICustomValidation customValidation)
| Parameter | Typ | Beschreibung |
|---|---|---|
| cellName | String | Name der Rasterzelle. |
| customValidation | ICustomValidation | Benutzerdefiniertes Validierungsobjekt. |
Siehe auch
- interface ICustomValidation
- class GridValidationCollection
- namensraum Aspose.Cells.GridDesktop.Data
- Montage Aspose.Cells.GridDesktop