Share via


Runtime.ConvertNativeEnumValueToManaged Method

Definition

Overloads

ConvertNativeEnumValueToManaged(IntPtr, Boolean)

public static long ConvertNativeEnumValueToManaged(IntPtr value, bool targetTypeHasMaxValue);
static member ConvertNativeEnumValueToManaged : nativeint * bool -> int64

Parameters

value
IntPtr

nativeint

targetTypeHasMaxValue
Boolean

Returns

Applies to

ConvertNativeEnumValueToManaged(UIntPtr, Boolean)

public static ulong ConvertNativeEnumValueToManaged(UIntPtr value, bool targetTypeHasMaxValue);
static member ConvertNativeEnumValueToManaged : unativeint * bool -> uint64

Parameters

value
UIntPtr

unativeint

targetTypeHasMaxValue
Boolean

Returns

Applies to