You are creating a Windows Presentation Foundation browser application
by using Microsoft .NET Framework 3.5.
The application contains a PageFunction class named CustomerPage.
You need to ensure that the CustomerPage page function can perform the following tasks:
Answer(s)
- a customer ID in the form of a string.Allow the user to update customer information on the page.Return an instance of a Customer object with the updated information.Which class definition should you use?A. Partial Public Class CustomerPage Inherits PageFunction(Of String) Public Sub New(ByValCustomerIDAs String) ... End SubEnd Class
- Partial Public Class CustomerPage Inherits PageFunction(Of Customer) Public SubNew(ByVal
- As String) ... End SubEnd ClassC. Partial Public Class CustomerPage Inherits PageFunction(Of String) Public Sub New() ... EndSubPrivate Function ReturnCustomer(ByVal customerID As String) _ As Customer ... EndFunctionEnd Class
- Partial Public Class CustomerPage Inherits PageFunction(Of Customer) Public Sub New() ...
- SubPrivate Function ReturnCustomer(ByVal customerID As String) _ As Customer ... End
- Class
Correct Answer Partial Public Class CustomerPage Inherits PageFunction(Of Customer) Public SubNew(ByVal