_FieldInfo.IsPinvokeImpl 属性

定义

为 COM 对象提供对 IsPinvokeImpl 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsPinvokeImpl property.

public:
 property bool IsPinvokeImpl { bool get(); };
public bool IsPinvokeImpl { get; }
member this.IsPinvokeImpl : bool
Public ReadOnly Property IsPinvokeImpl As Boolean

属性值

如果在 FieldAttributes 中设置了 true 特性,则为 PinvokeImpl;否则为 falsetrue if the PinvokeImpl attribute is set in FieldAttributes; otherwise, false.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

属性获取一个值,该值指示是否在PinvokeImplFieldAttributes设置相应的属性。 IsPinvokeImplThe IsPinvokeImpl property gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.

适用于