欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-562)

单项选择题

You work as a Web Developer at Certkiller.com. You are in the process of creating a mobile Webapplication. You use Microsoft ASP.NET 3.5 to create the Web application. 
In an assembly named MobileUser the following code exists: 
namespace Certkiller.MobileUser { 
public class Capabilities { 
public static bool IsEnhancedDevice(MobileCapabilities capabilities, string optional) { 
return (capabilities["AJAX"] == Boolean.TrueString && 
capabilities["Silverlight"] == Boolean.TrueString); 
} 
} 
} 
The following code is contained on a page in the Web application: 
MobileCapabilities capabilities = (MobileCapabilities)Request.Browser; 
bool isEnhancedDevice = capabilities.HasCapability("SilverlightAndAjax", null) 
You have to make sure that the code calls the IsEnhancedDevice method of the Capabilities class.You configure the Web.config file to accomplish this.
What should you do?()

    A.A
    B.B
    C.C
    D.D

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题