共用方式為


Conversion.IsIntPtr Property

Definition

Returns true if the conversion is a conversion to or from IntPtr or UIntPtr.

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

Property Value

Remarks

Returns true if the conversion is a conversion to or from IntPtr or UIntPtr. This includes: IntPtr to/from int IntPtr to/from long IntPtr to/from void* UIntPtr to/from int UIntPtr to/from long UIntPtr to/from void*

Applies to