InputCollection.Add Method (String, String, CellType, Object)
Adds an input to the last InputRow object of the collection.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Sub Add ( _
SheetName As String, _
Cells As String, _
CellsType As CellType, _
Value As Object _
)
'Usage
Dim instance As InputCollection
Dim SheetName As String
Dim Cells As String
Dim CellsType As CellType
Dim Value As Object
instance.Add(SheetName, Cells, CellsType, _
Value)
public void Add(
string SheetName,
string Cells,
CellType CellsType,
Object Value
)
Parameters
- SheetName
Type: System.String
Name of the sheet for the input cell.
- Cells
Type: System.String
Cell location for the input cell.
- CellsType
Type: Microsoft.Office.Excel.Server.Addins.ComputeCluster.CellType
Cell type for the Cells parameter.
- Value
Type: System.Object
Value of the input cell.
Remarks
And exception is thrown if an attempt is made to add an input row to a collection that does not contain rows.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster Namespace