共用方式為


CustomTaskPaneCollection.Count Property

Definition

Gets the number of CustomTaskPane objects in the current CustomTaskPaneCollection.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Property Value

The number of CustomTaskPane objects in the current CustomTaskPaneCollection.

Exceptions

The Microsoft.Office.Tools.CustomTaskPaneCollection.Dispose method has already been called on the CustomTaskPaneCollection.

Applies to