当前位置: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

韩愈在《送孟东野序》中提出了他的()论,说:大凡物不得其平则鸣。……人之于言也亦然,有不得已者而后言,其歌也有思,其哭也有怀。 某公司发行优先股面值100元,规定每股股利为14元,市价为98元 计算其投资报酬率 党章规定,中国共产党党员永远是()的普通一员。 劳动人民。 人民群众。 工人阶级。 先进分子。 浸润麻醉 士气

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?()

参考答案:

  参考解析

本题暂无解析

在线 客服