NativeMarshallingAttribute(Type) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的實例 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 型別。