CustomMarshallerAttribute(Type, MarshalMode, Type) 构造函数

定义

初始化 CustomMarshallerAttribute 类的新实例。

public:
 CustomMarshallerAttribute(Type ^ managedType, System::Runtime::InteropServices::Marshalling::MarshalMode marshalMode, Type ^ marshallerType);
public CustomMarshallerAttribute (Type managedType, System.Runtime.InteropServices.Marshalling.MarshalMode marshalMode, Type marshallerType);
new System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute : Type * System.Runtime.InteropServices.Marshalling.MarshalMode * Type -> System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute
Public Sub New (managedType As Type, marshalMode As MarshalMode, marshallerType As Type)

参数

managedType
Type

要封送的托管类型。

marshalMode
MarshalMode

此属性适用的封送模式。

marshallerType
Type

用于封送处理的类型。

适用于