Sdílet prostřednictvím


Serialization.ISurrogateProvider.Handles Metoda

Definice

Zjistěte, zda tento náhradní zprostředkovatel zpracovává tento typ.

public bool Handles (Type type, System.Runtime.Serialization.StreamingContext context, out int priority);
abstract member Handles : Type * System.Runtime.Serialization.StreamingContext * int -> bool
Public Function Handles (type As Type, context As StreamingContext, ByRef priority As Integer) As Boolean

Parametry

type
Type

Typ dotazu.

context
StreamingContext

Kontext serializace

priority
Int32

Priorita tohoto poskytovatele.

Návraty

True, pokud tento zprostředkovatel zpracovává tento typ, v opačném případě false.

Platí pro