_IInitEventHandler.InitEventHandler Method
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.
Handles the initialization event when a form is loaded in the hosted InfoPathEditor object.
public:
void InitEventHandler(System::Object ^ punkSender, Microsoft::Office::Interop::InfoPath::_XDocument ^ pDocument, [Runtime::InteropServices::Out] Microsoft::Office::Interop::InfoPath::XdReadOnlyViewMode % pROMode);
public void InitEventHandler (object punkSender, Microsoft.Office.Interop.InfoPath._XDocument pDocument, out Microsoft.Office.Interop.InfoPath.XdReadOnlyViewMode pROMode);
abstract member InitEventHandler : obj * Microsoft.Office.Interop.InfoPath._XDocument * -> unit
Public Sub InitEventHandler (punkSender As Object, pDocument As _XDocument, ByRef pROMode As XdReadOnlyViewMode)
Parameters
- punkSender
- Object
A pointer to the source of the event.
- pDocument
- _XDocument
A reference to the _XDocument object loaded into the InfoPathEditor object.
- pROMode
- XdReadOnlyViewMode
An XdReadOnlyViewMode enumeration that specifies how the view of the form will be presented.
Remarks
InitEventHandler method executes after all auxiliary DOMs are loaded but before the OnLoad event occurs.
The InitEventHandler method is available for use when the InfoPathEditor object is hosted in a custom application. For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기