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


FSharpType.MakeTupleType Method (F#)

Returns a Type representing an F# tuple type with the given element types.

Namespace/Module Path: Microsoft.FSharp.Reflection

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

// Signature:
static member MakeTupleType : Type [] -> Type

// Usage:
FSharpType.MakeTupleType (types)

Parameters

  • types
    Type: Type[]

    An array of types for the tuple elements.

Return Value

The type representing the tuple containing the input elements.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Reflection.FSharpType Class (F#)

Microsoft.FSharp.Reflection Namespace (F#)