NativeMarshallingAttribute(Type) 建構函式

定義

初始化 的新實例,這個實例 NativeMarshallingAttribute 提供原生封送處理類型。

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)

參數

nativeType
Type

用來將屬性化型別從Managed轉換成機器碼的封送處理器類型。

適用於