BinaryFormatter.SurrogateSelector Propiedad

Definición

Obtiene o establece un ISurrogateSelector que controla la sustitución de tipos durante la serialización y la deserialización.Gets or sets a ISurrogateSelector that controls type substitution during serialization and deserialization.

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

Valor de propiedad

Selector suplente que se va a utilizar con este formateador.The surrogate selector to use with this formatter.

Implementaciones

Comentarios

Utiliza System.Runtime.Remoting el selector de suplentes para generar ObjRef instancias para los objetos que derivan de MarshalByRefObject.The surrogate selector is used by System.Runtime.Remoting to generate ObjRef instances for objects that derive from MarshalByRefObject.

Se aplica a

Consulte también: