FieldInfo.IsPinvokeImpl Property


Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

abstract IsPinvokeImpl : bool with get
override IsPinvokeImpl : bool with get

Property Value

Type: System.Boolean

true if the PinvokeImpl attribute is set in FieldAttributes; otherwise, false.

The following example creates a class and displays the name, field and IsPinvokeImpl property value of the field.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top