ISurrogateSelector Interface
TOC
Collapse the table of content
Expand the table of content

ISurrogateSelector Interface

 

Indicates a serialization surrogate selector class.

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)]
public interface ISurrogateSelector

NameDescription
System_CAPS_pubmethodChainSelector(ISurrogateSelector)

Specifies the next ISurrogateSelector for surrogates to examine if the current instance does not have a surrogate for the specified type and assembly in the specified context.

System_CAPS_pubmethodGetNextSelector()

Returns the next surrogate selector in the chain.

System_CAPS_pubmethodGetSurrogate(Type, StreamingContext, ISurrogateSelector)

Finds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.

Surrogate selectors implement the ISurrogateSelector interface to assist formatters in selecting surrogates to delegate to the serialization or deserialization of other objects.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft