WindowCollection.Count 속성
WindowCollection 컬렉션에 포함된 Window 개체의 수를 가져옵니다.
네임스페이스: Microsoft.Office.InfoPath
어셈블리: Microsoft.Office.InfoPath(microsoft.office.infopath.dll)
구문
Public MustOverride ReadOnly Property Count As Integer
Dim instance As WindowCollection
Dim value As Integer
value = instance.Count
public abstract int Count { get; }
속성 값
WindowCollection 컬렉션에 포함된 Window 개체의 수입니다.
주의
이 멤버는 무제한 액세스할 수 있습니다.
이 형식 또는 구성원은 Microsoft Office InfoPath 2007에서 연 양식에서 실행되는 코드에서만 액세스할 수 있습니다.
예제
다음 예제에서는 변수를 WindowCollection 컬렉션의 창 수로 설정합니다.
int windowCount = this.Application.Windows.Count;
Dim windowCount As Integer = Me.Application.Windows.Count
참고 항목
참조
WindowCollection 클래스
WindowCollection 구성원
Microsoft.Office.InfoPath 네임스페이스