Returns the number of cells in the specified slice string.
Syntax
EsbPartitionGetAreaCellCount (hCtx, pszSlice, pdCount) ByVal hCtx As Long ByVal pszSlice As String pdCount As Double
Parameter | Description |
---|---|
hCtx | API context handle. |
pszSlice | Input slice definition to be checked. |
pdCount | Returns number of cells here. |
Return Value
Returns zero if successful; error code if unsuccessful.
Example
Public Sub ESB_PartitionGetAreaCellItems() Dim Slice As String Dim CellItems As Double Slice = "@Idescendants(Market)" sts = EsbPartitionGetAreaCellCount(hCtx, Slice, CellItems) If sts = 0 Then MsgBox Items End Sub
See Also