IFormatter.SurrogateSelector Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the SurrogateSelector used by the current formatter.
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; }
public System.Runtime.Serialization.ISurrogateSelector SurrogateSelector { get; set; }
member this.SurrogateSelector : System.Runtime.Serialization.ISurrogateSelector with get, set
Public Property SurrogateSelector As ISurrogateSelector
Property Value
The SurrogateSelector used by this formatter.
Remarks
A ISerializationSurrogate allows the user to specify an object best suited to handle the serialization of a particular object or class of objects. Think of it as an implementation of ISerializable but provided by a different object.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.