共用方式為


DataContractJsonSerializer.SetSerializationSurrogateProvider 方法

定義

public:
 void SetSerializationSurrogateProvider(System::Runtime::Serialization::ISerializationSurrogateProvider ^ provider);
public void SetSerializationSurrogateProvider (System.Runtime.Serialization.ISerializationSurrogateProvider? provider);
member this.SetSerializationSurrogateProvider : System.Runtime.Serialization.ISerializationSurrogateProvider -> unit
Public Sub SetSerializationSurrogateProvider (provider As ISerializationSurrogateProvider)

參數

適用於