CustomMarshallerAttribute(Type, MarshalMode, Type) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av CustomMarshallerAttribute klassen.
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)
Parametrar
- managedType
- Type
Den hanterade typen som ska marskalkas.
- marshalMode
- MarshalMode
Det marshalling-läge som det här attributet gäller för.
- marshallerType
- Type
Den typ som används för marshalling.