Microsoft
70-511 · Question #252
70-511 Question #252: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #252. The question stem and answer options stay visible for context.
Question
You use Microsoft .NET Framework 4 to create a Windows Forms application. The application has a reference to a Windows Presentation Foundation (WPF) class library named Library1. Library1 contains a WPF user control named UserControl1. You add the following code to the application: You need to ensure that you can add the instance of UserControl1 to a control named host in Form1. Which code segment should you insert at line 04?
Exhibit
Options
- ADim host As New ContainerControl()
- BDim host As New Panel ()
- CDim host As New WindowsFormHost ()
- DDim host As New ElementHost()
Unlock 70-511 to see the answer
You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
