Megosztás a következőn keresztül:


Nullable.char<^T> Function (F#)

Converts the argument to char. Numeric inputs are converted according to the UTF-16 encoding for characters. The operation requires an appropriate static conversion method on the input type.

Namespace/Module Path: Microsoft.FSharp.Linq.Nullable

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
char : Nullable<^T> -> Nullable<char> when ^T with static member op_Explicit and ^T : (new : unit ->  ^T) and ^T : struct and ^T :> ValueType

// Usage:
Nullable.char value

Parameters

  • value
    Type: Nullable<^T>

    The input value.

Return Value

The converted char.

Remarks

This function is named ToChar in the .NET assembly. If accessing the member from a .NET language other than F#, or through reflection, use this name.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 4.0, Portable

See Also

Reference

Linq.Nullable Module (F#)

Microsoft.FSharp.Linq Namespace (F#)

Operators.char<^T> Function (F#)