共用方式為


XmlDataContractSerializerOutputFormatter.GetSerializableType(Type) 方法

定義

取得要序列化的型別。

protected:
 virtual Type ^ GetSerializableType(Type ^ type);
protected virtual Type GetSerializableType (Type type);
abstract member GetSerializableType : Type -> Type
override this.GetSerializableType : Type -> Type
Protected Overridable Function GetSerializableType (type As Type) As Type

參數

type
Type

要序列化的原始型別

傳回

由任何 IWrapperProvider s 提供的原始或包裝類型。

適用於