Compartilhar via


WindowCollection.Count Propriedade

Definição

Obtém uma contagem do número de Window objetos contidos na WindowCollection coleção.

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

Valor da propriedade

O número de Window objetos contidos na WindowCollection coleção.

Exemplos

O exemplo a seguir define uma variável para o número de janelas na coleção WindowCollection .

int windowCount = this.Application.Windows.Count; Dim windowCount As Integer = Me.Application.Windows.Count

Comentários

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

Aplica-se a