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

要封送處理的Managed型別。

marshalMode
MarshalMode

此屬性適用的封送處理模式。

marshallerType
Type

用於封送處理的類型。

適用於