共用方式為


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,請參閱 數據合約代理

適用於

另請參閱