Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of objects in the XmlMappedRange control.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property Count As Integer
Get
int Count { get; }
Property Value
Type: System.Int32
The number of objects in the XmlMappedRange control.
Examples
The following code example uses the Count property to display the number of objects in an XmlMappedRange. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.
Private Sub DisplayCount()
MsgBox("There are " & Me.CustomerLastNameCell.Count & _
" items in the XmlMappedRange.")
End Sub
private void DisplayCount()
{
MessageBox.Show("There are " + this.CustomerLastNameCell.Count +
" items in the XmlMappedRange.");
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.