Wenn Sie einer Variable ein Array (mehrere Werte) zuweisen möchten, trennen Sie die Werte wie folgt mit Kommas
To assign an array (multiple values) to a variable, separate the values with commas, as follows
(Die "1" legt fest, dass die Variable ein Array mit nur einem Eintrag (also eine einfache Zahl) ist.)
The "1" defines the variable as "array" of only 1 entry, which is a simple, single number...
Legen Sie fest, ob die Variable ein Array ist. Wenn Sie dieses Kontrollkästchen aktivieren, müssen Sie auch eine Dimension auswählen.
Specify whether the variable is an array. If you select this check box, you must select a dimension, too.
Kurzbeschreibung Prüft, ob die Variable ein Array ist.
Short description Checks if the variable is an array.
Anmerkungen IsArray gibt true, Wenn die Variable ein Array ist; Andernfalls wird Falsezurückgegeben.
IsDate returns True if the expression is a date or is recognizable as a valid date; otherwise, it returns False.
Wenn die Variable ein Array ist, gibt IsArray den Wert Wahr zurück, andernfalls gibt es Falsch zurück. IsArray ist besonders mit Variant -Variablen hilfreich, die Arrays enthalten.
IsArray returns True if the variable is an array; otherwise, it returns False. IsArray is especially useful with variants containing arrays.
Autres résultats
Selbst wenn vom Befehl ein einziger Prozess zurückgegeben wird, ist die $LocalProcesses-Variable ein Array.
Wenn der Wert der Variablen ein Array ist, fügt der Operator += die Werte rechts vom Operator an das Array angefügt.
When the value of the variable is an array, the += operator appends the values on the right side of the operator to the array.
Um sicherzustellen, dass mit dem Befehl ein Array erstellt wird, verwenden Sie den Arrayteilausdruckoperator ( ), wie im folgenden Beispiel veranschaulicht: $LocalProcesses = (get-process co*) Selbst wenn vom Befehl ein einziger Prozess zurückgegeben wird, ist die $LocalProcesses-Variable ein Array.
To ensure the command creates an array, use the array subexpression operator, , as shown in the following example: $LocalProcesses = (get-process co*) Even if the command returns a single process, the $LocalProcesses variable is an array.
Versuch, eine existierende Array-Variable ein zweites Mal zu deklarieren.
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.