Microsoft
70-511 · Question #192
70-511 Question #192: Real Exam Question with Answer & Explanation
The correct answer is A. <UserScopedSetting() >. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Forms application. You write the following code segment. (Line numbers are included for reference only.) 01 NotInheritable Class FormSettings 02 Inherits ApplicationSettingsBase 03 04 Public Property Description() As [String] 05 Get 06 Return DirectCast(He("Description"), [String]) 07 End Get 08 Set 09 Me("Description") -value 10 End Set 11 End Property 12 End Class You need to ensure that the first time each user opens the application, a text field displays the following message: "Please enter your setting." Which code segment should you insert at line 03?
Options
- A<UserScopedSetting() >
- B<UserScopedSetting()>
- C<ApplicationScopedSetting()>
- D<ApplicationScopedSetting()>
Community Discussion
No community discussion yet for this question.