Partager via


IntrinsicFunctions.SetArray2D<'T>, fonction (F#)

Opérateur de mutation (à 2 index) associatif surchargé standard

Espace de noms/Chemin du module : Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions

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

// Signature:
SetArray2D : 'T [,] -> int -> int -> 'T -> unit

// Usage:
SetArray2D target index1 index2 value

Paramètres

  • target
    Type : 'T [,]

    Tableau à deux dimensions.

  • index1
    Type : int

    Index le long de la première dimension.

  • index2
    Type : int

    Index le long de la deuxième dimension.

  • value
    Type : 'T.

    La nouvelle valeur à définir sur les indices spécifiés.

Plateformes

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Informations de version

Runtime F#

Pris en charge dans : 2.0, 4.0

Silverlight

Prise en charge dans : 3

Voir aussi

Référence

LanguagePrimitives.IntrinsicFunctions, module (F#)

Core.LanguagePrimitives, module (F#)