当前位置:MCPD(70-536)题库

问题:

[单选]

您最近创建了一个名为车辆的可序列化的类。
类如下所示:
[Serializable]
public class Vehicle {
public string VIN;
public string Make;
private string Model;
private int Year;
private string Owner;
}
Certkiller.com 不想要序列化一个车辆对象,出于安全原因时永久保存的所有者字段。
您需要确保实现这一目标。
你应该做什么?()

A . 适用于所有者字段的 OptionalField 属性。
B . 应用,所以所有者字段的属性。
C . 已实现 IFormatter 接口的自定义序列化的车辆类别。
D . 做什么,因为在使用二进制序列化时,私营领域是永远不会保留。

领导者的素质培养主要体现在哪几个方面? 点位图较适合于内容()的图像和真实的照片。 大量建设工程的项目管理实践证明,一个项目的建设能否成功,能否进行有效的()及组织协调,很大程度上取决于承发包模式的选择。 投资控制。 质量控制。 信息管理。 进度控制。 合同管理。 分辨率相同的图像,尺寸越大,文件就();同样,增加图像的分辨率,也可使图像文件变()。 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.  You add a property named ServiceContext to a control.  You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class.  What should you do? () Inherit the control class from the DependencyObject class.。 Register a dependency property. In the options settings of the property metadata, specify the Inherits option.。 Declare a new property. In the get and set methods of the new property, create an instance of the TraversalRequest class.。 Declare a new property. In the get method of the new property call VisualTreeHelper.GetParent. In the set method of the new property, call VisualTreeHelper.GetChild.。

您最近创建了一个名为车辆的可序列化的类。
类如下所示:
[Serializable]
public class Vehicle {
public string VIN;
public string Make;
private string Model;
private int Year;
private string Owner;
}
Certkiller.com 不想要序列化一个车辆对象,出于安全原因时永久保存的所有者字段。
您需要确保实现这一目标。
你应该做什么?()

参考答案:

  参考解析

本题暂无解析

在线 客服