_Application3.Windows Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the WindowsCollection collection.
public:
property Microsoft::Office::Interop::InfoPath::WindowsCollection ^ Windows { Microsoft::Office::Interop::InfoPath::WindowsCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.WindowsCollection Windows { get; }
member this.Windows : Microsoft.Office.Interop.InfoPath.WindowsCollection
Public ReadOnly Property Windows As WindowsCollection
Property Value
A reference to the WindowsCollection collection.
Implements
Examples
In the following example, the Windows property is used to access the Count property of the WindowsCollection collection and display the value in a message box:
thisXDocument.UI.Alert("Count of Windows: " + thisApplication.<span class="label">Windows</span>.Count);
Remarks
After you have set a reference to the Windows collection, you can use its properties to access each of the Window objects that it contains.
Note: The Windows collection can be used only to get the count of the Window objects that it contains or to return a reference to a Window object. It cannot be used to add or remove Window objects.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기