Window2 Interface
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.
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeWindowObject.
public interface class Window2 : Microsoft::Office::Interop::InfoPath::Window
[System.Runtime.InteropServices.Guid("096CD5F7-0786-11D1-95FA-0080C78EE3BB")]
public interface Window2 : Microsoft.Office.Interop.InfoPath.Window
type Window2 = interface
interface Window
Public Interface Window2
Implements Window
- Derived
- Attributes
- Implements
Properties
Active |
Gets a value that indicates whether the window associated with the WindowObject object is the active window. |
Caption |
Gets or sets the caption text for the window represented by the WindowObject object. |
CommandBars |
Gets a reference to the Microsoft Office CommandBars collection contained in the window that is associated with the WindowObject object. |
Height |
Gets or sets the height of the window represented by the WindowObject object, measured in points. |
Left |
Gets or sets the horizontal position of the window represented by the WindowObject object, measured in points. |
MailEnvelope |
Gets a reference to the MailEnvelopeObject object associated with the window that is represented by the WindowObject object. |
TaskPanes |
Gets a reference to the TaskPanesCollection collection that is associated with the WindowObject object. |
Top |
Gets or sets the vertical position of the window represented by the WindowObject object, measured in points. |
Width |
Gets or sets the width of the window represented by the WindowObject object, measured in points. |
WindowState |
Gets or sets the state of the window represented by the WindowObject object. |
WindowType |
Gets an XdWindowType value that indicates the type of window that is represented by the WindowObject object. |
XDocument |
Gets a reference to the XDocument object that is associated with the window that is represented by the WindowObject object. |
Methods
Activate() |
Activates the window that is represented by the WindowObject object. |
Close(Boolean) |
Closes the window that is represented by the WindowObject object. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기