CustomTaskPaneCollection.Count Property

Gets the number of CustomTaskPane objects in the current CustomTaskPaneCollection.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
ReadOnly Property Count As Integer
int Count { get; }

Property Value

Type: System.Int32
The number of CustomTaskPane objects in the current CustomTaskPaneCollection.

Exceptions

Exception Condition
ObjectDisposedException

The Dispose method has already been called on the CustomTaskPaneCollection.

.NET Framework Security

See Also

Reference

CustomTaskPaneCollection Interface

Microsoft.Office.Tools Namespace