Redigera

Dela via


ISerializationSurrogateProvider.GetSurrogateType(Type) Method

Definition

During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.

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

Parameters

type
Type

The type to substitute.

Returns

The Type to substitute for the type value.

Applies to