GridValidationCollection.Add

Add(GridValidation)

Add a GridValidation to the collection.

public int Add(GridValidation validation)
ParameterTypeDescription
validationGridValidationA validation object.

Return Value

GridValidation object index.

See Also


Add()

Add a GridValidation to the collection.

[Obsolete("Use GridValidationCollection.Add(row,col) method instead.")]
public GridValidation Add()

Return Value

GridValidation the added GridValidation instance.

Remarks

NOTE: This member is now obsolete. Instead, please use GridValidationCollection.Add(row,col) method. This property will be removed 12 months later since JANUARY 2015. Aspose apologizes for any inconvenience you may have experienced.

See Also


Add(GridCellArea)

Adds a data validation to the collection.

public GridValidation Add(GridCellArea ca)
ParameterTypeDescription
caGridCellAreaThe area contains this validation.

Return Value

GridValidation the validation.

See Also


Add(string)

Add a GridValidation to the collection.the validation is applied to the specificed cell.

public GridValidation Add(string cellname)
ParameterTypeDescription
cellnameStringthe name of the cell.

Return Value

GridValidation the added GridValidation instance.

See Also


Add(int, int)

Add a GridValidation to the collection.the validation is applied to the specificed cell.

public GridValidation Add(int row, int column)
ParameterTypeDescription
rowInt32The row index.
columnInt32The column index.

Return Value

GridValidation the added GridValidation instance.

See Also