NativeMarshallingAttribute(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 NativeMarshallingAttribute som tillhandahåller en intern marshallingtyp.
public:
NativeMarshallingAttribute(Type ^ nativeType);
public NativeMarshallingAttribute(Type nativeType);
new System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute : Type -> System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute
Public Sub New (nativeType As Type)
Parametrar
- nativeType
- Type
Den marshallertyp som används för att konvertera den tilldelade typen från hanterad till intern kod.