MarshalUsingAttribute 构造函数

定义

重载

MarshalUsingAttribute()

初始化仅提供大小信息的新实例 MarshalUsingAttribute

MarshalUsingAttribute(Type)

初始化 的新实例,该实例 MarshalUsingAttribute 提供本机封送类型和可选大小信息。

MarshalUsingAttribute()

Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs

初始化仅提供大小信息的新实例 MarshalUsingAttribute

public:
 MarshalUsingAttribute();
public MarshalUsingAttribute ();
Public Sub New ()

适用于

MarshalUsingAttribute(Type)

Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs
Source:
MarshalUsingAttribute.cs

初始化 的新实例,该实例 MarshalUsingAttribute 提供本机封送类型和可选大小信息。

public:
 MarshalUsingAttribute(Type ^ nativeType);
public MarshalUsingAttribute (Type nativeType);
new System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute : Type -> System.Runtime.InteropServices.Marshalling.MarshalUsingAttribute
Public Sub New (nativeType As Type)

参数

nativeType
Type

用于将属性类型从托管代码转换为本机代码的封送程序类型。

适用于