InfoPathEditor.Load(String) 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.
Loads a form file (.xml) into the InfoPathEditor object.
public:
void Load(System::String ^ bstrURL);
public void Load (string bstrURL);
abstract member Load : string -> unit
Public Sub Load (bstrURL As String)
Parameters
- bstrURL
- String
The path or URL to the form file (.xml).
Remarks
The Load method does not allow you to specify a form template file (.xsn). The form file must contain processing instructions (href and name attributes) that reference a valid form template file for the Load method to succeed. If this is not possible, the NewFromSolution(String) method can be used if you have a .xsn file and a suitably structured XML file, but the XML file does not have processing instruction references that specify the .xsn file. Or you can use the LoadFromStream(Object) method to load XML from a System.IO.Stream object.
For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기