nerdexam
Microsoft

70-511 · Question #268

70-511 Question #268: Real Exam Question with Answer & Explanation

Sign in or unlock 70-511 to reveal the answer and full explanation for question #268. The question stem and answer options stay visible for context.

Question

You are develping a Windows Presentation Foundation (WPF) application. You plan to deploy the WPF application by using ClickOnce. The application will be associated to files that have an extension of .abc. You need to ensure that when a user opens the application by double-clicking an .abc file, a TextBlock named txtBlockl displays the path of the file. Which code should you use?

Options

  • AtxttBlock1.Text = App.Current.Properties["FilePath"].ToString();
  • BtxtBlock1.Text = AppDomain. CurrentDomain.Setup Information.
  • CtxtBlock1.Text = DataContext .ToString ();
  • DtxttBlock1.Text = App.Current.Properties["ActivationData"].ToString();

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.

Full 70-511 Practice