NetDataContractSerializer.SurrogateSelector 属性

定义

获取或设置一个对象,以帮助格式化程序选择要序列化的代理项。

public:
 property System::Runtime::Serialization::ISurrogateSelector ^ SurrogateSelector { System::Runtime::Serialization::ISurrogateSelector ^ get(); void set(System::Runtime::Serialization::ISurrogateSelector ^ value); };
public System.Runtime.Serialization.ISurrogateSelector SurrogateSelector { get; set; }
member this.SurrogateSelector : System.Runtime.Serialization.ISurrogateSelector with get, set
Public Property SurrogateSelector As ISurrogateSelector

属性值

一个用于选择代理项的 ISurrogateSelector

实现

注解

有关 的详细信息, IDataContractSurrogate请参阅 数据协定代理项

适用于

另请参阅