CustomTaskPaneCollection.Count Property (2007 System)
Gets the number of CustomTaskPane objects in the current CustomTaskPaneCollection.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As CustomTaskPaneCollection
Dim value As Integer
value = instance.Count
public int Count { get; }
public:
property int Count {
int get ();
}
public function get Count () : int
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
- 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.
See Also
Reference
CustomTaskPaneCollection Class