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. [Edit]

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

See Also

NativeConvert.FromSignum
NativeConvert.ToSignum
NativeConvert.TryToSignum

Parameters

value
The managed value to convert. [Edit]
rval
The OS-specific equivalent value. [Edit]

Returns

true if the conversion was successful; otherwise, false. [Edit]

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.

[Edit]

Requirements

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