語言

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

用於編組的類型。

適用於