ISerializationSurrogateProvider.GetSurrogateType(Type) Metod

Definition

Under serialisering, deserialisering och schemaimport och export returnerar en datakontraktstyp som ersätter den angivna typen.

public:
 Type ^ GetSurrogateType(Type ^ type);
public Type GetSurrogateType(Type type);
abstract member GetSurrogateType : Type -> Type
Public Function GetSurrogateType (type As Type) As Type

Parametrar

type
Type

Den typ som ska ersättas.

Returer

För Type att ersätta värdet type .

Gäller för