Mono Class Library: Mono.Unix.Native.NativeConvert Overview | Members

Mono.Unix.Native.NativeConvert.FromPosixMadviseAdvice Method

Converts a Mono.Unix.Native.PosixMadviseAdvice to an OS-specific value.

public static int FromPosixMadviseAdvice (PosixMadviseAdvice value)

See Also

NativeConvert.ToPosixMadviseAdvice
NativeConvert.TryFromPosixMadviseAdvice
NativeConvert.TryToPosixMadviseAdvice

Parameters

value
The managed value to convert.

Returns

The equivalent OS-specific value.

Exceptions

TypeReason
ArgumentOutOfRangeExceptionvalue has no equivalent OS-specific value.

Remarks

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0