ModelItemCollection.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.
Returns the count of items in the collection.
public:
 abstract property int Count { int get(); };public abstract int Count { get; }member this.Count : intPublic MustOverride ReadOnly Property Count As IntegerProperty Value
The count of items in the collection.
Implements
Remarks
This value is not updated during an EditingContext session. If an object is added to the ModelItemCollection during a session, the Count value will not be updated until the session exits.