Share via


IVsaItems.Count Property

Gets the number of items in the specified collection.

public: __property int get_Count();
public int Count {get;}
Public Property Get Count() As Integer

Return Value

Returns the integer value for the number of items in the collection.

Remarks

Items in the collection must be indexed on a 0-based system that results in an index ranging from 0 to n-1, where n is value of the Count property.

The engine must not be closed and the engine must be initialized in order for this property to be retrieved.

The following table shows the exceptions that the Count property can throw.

Exception Type

Condition

EngineClosed

The IVsaEngine.Close method has been called and the engine is closed.

EngineNotInitialized

The engine has not been initialized.

See Also

Reference

IVsaItems Interface