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

Mono.Unix.Native.NativeConvert.TryToSignum Method

Converts an OS-specific value to a Mono.Unix.Native.Signum. [Edit]

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

See Also

NativeConvert.FromSignum
NativeConvert.ToSignum
NativeConvert.TryFromSignum

Parameters

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

Returns

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

Remarks

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

If successful, this method stores the managed equivalent value of value into rval. Otherwise, rval will contain a 0 cast to a Mono.Unix.Native.Signum.

[Edit]

Requirements

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