[]
Adds a rule (SmartPrintRule object) to the collection.
public int Add(object value)
Public Function Add(value As Object) As Integer
| Type | Name | Description |
|---|---|---|
| object | value | Rule (SmartPrintRule object) to add |
| Type | Description |
|---|---|
| int | The collection index at which the value has been added. |
| Type | Condition |
|---|---|
| ArgumentException | Specified object is not valid; must be a SmartPrintRule object |
Adds a rule (SmartPrintRule object) to the collection.
public int Add(SmartPrintRule value)
Public Function Add(value As SmartPrintRule) As Integer
| Type | Name | Description |
|---|---|---|
| SmartPrintRule | value | Rule (SmartPrintRule object) to add |
| Type | Description |
|---|---|
| int | The collection index at which the value has been added. |
| Type | Condition |
|---|---|
| ArgumentException | Specified object is not valid; must be a SmartPrintRule object |