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

Mono.Unix.Native.NativeConvert.TryFromSignum Method

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

public static bool TryFromSignum (Signum value, out int rval)

See Also

NativeConvert.FromSignum
NativeConvert.ToSignum
NativeConvert.TryToSignum

Parameters

value
The managed value to convert.
rval
The OS-specific equivalent value.

Returns

true if the conversion was successful; otherwise, false.

Remarks

This is an exception-safe alternative to NativeConvert.FromSignum.

If successful, this method stores the OS-specific equivalent value of value into rval. Otherwise, rval will contain 0.

Requirements

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