Compartilhar via


Propriedade CustomTaskPaneCollection.Count

Obtém o número de objetos de CustomTaskPane em CustomTaskPaneCollectionatual.

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

Sintaxe

'Declaração
ReadOnly Property Count As Integer
int Count { get; }

Valor de propriedade

Tipo: System.Int32
O número de CustomTaskPane objetos em CustomTaskPaneCollectionatual.

Exceções

Exceção Condição
ObjectDisposedException

O método de Dispose tiver sido chamado já CustomTaskPaneCollection.

Segurança do .NET Framework

Consulte também

Referência

CustomTaskPaneCollection Interface

Namespace Microsoft.Office.Tools