XmlMappedRange.Count Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of objects in the XmlMappedRange control.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
Property Value
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 void DisplayCount()
{
MessageBox.Show("There are " + this.CustomerLastNameCell.Count +
" items in the XmlMappedRange.");
}
Private Sub DisplayCount()
MsgBox("There are " & Me.CustomerLastNameCell.Count & _
" items in the XmlMappedRange.")
End Sub