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

用於將受管理程式碼轉換為原生程式碼的 marshaller 型別。

適用於