WindowCollection.Count Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.