多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit. Which two actions should you perform?()

  • A、 Attach the Category attribute class to the controls class definition. Set its value to UserAddress. Mark the class as public.
  • B、 Attach the Browsable attribute class to each property in the group. Set its value to True. Mark the property as private.
  • C、 Attach the Category attribute class to each property in the group. Set its value to UserAddress. Mark the property as public.
  • D、 Attach the Description attribute class to each property in the group. Set each value to a description of the given property.
  • E、 Attach the DefaultProperty attribute class to each property in the group. Set each value to a description of the given property.
正确答案:C,D
答案解析:
进入题库查看解析

微信扫一扫手机做题