Vertaling van "New-Object" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
New-Object crée l'objet, définit chaque valeur de propriété et appelle les différentes méthodes dans l'ordre dans lequel elles s'affichent dans la table de hachage.
New-Object creates the object and sets each property value and invokes each method in the order that they appear in the hash table.
New-Object retourne l'objet créé.
La première commande utilise l'applet de commande New-Object pour créer un objet minuteur (Timer).
The first command uses the New-Object cmdlet to create a timer object.
La deuxième commande utilise l'applet de commande New-Object pour créer une instance du fournisseur de code FSharp et enregistre le résultat dans la variable $provider.
The second command uses the New-Object cmdlet to create an instance of the FSharp code provider and saves the result in the $provider variable.
La quatrième commande utilise l'applet de commande New-Object pour instancier une instance de la classe BasicTest.
The fourth command uses the New-Object cmdlet to instantiate an instance of the BasicTest class.
Si le nouvel objet est dérivé de la classe PSObject et que vous spécifiez une propriété qui n'existe pas sur l'objet, New-Object ajoute la propriété spécifiée à l'objet en tant que propriété de note (NoteProperty).
If the new object is derived from the PSObject class, and you specify a property that does not exist on the object, New-Object adds the specified property to the object as a NoteProperty.
Vous pouvez ensuite instancier des objets (à l'aide de l'applet de commande New-Object) et utiliser ces objets, tout comme vous utiliseriez n'importe quel objet.NET Framework.
You can then instantiate objects (by using the New-Object cmdlet) and use the objects, just as you would use any.NET Framework object.
La deuxième commande utilise la commande New-Object pour créer un objet TransactedString.
The second command uses the New-Object command to create a TransactedString object.
Vous pouvez créer une nouvelle instance d'une classe.NET Framework en utilisant l'applet de commande New-Object avec le paramètre TypeName (nom de type).
You can create a new instance of a.NET Framework class by using the New-Object cmdlet with the TypeName parameter.
Toutes les classes.NET Framework ne peuvent pas être créées en utilisant New-Object.
Not all.NET Framework classes can be created by using New-Object.
Par exemple, si vous essayez de créer un objet System.Environment ou System.Math avec New-Object, vous obtiendrez les messages d'erreur Ces erreurs se produisent parce qu'il n'existe aucun moyen de créer un objet à partir de ces classes.
For example, if you try to create a System.Environment or a System.Math object with New-Object, you will get the following error messages: PS> New-Object System.Environment New-Object: Constructor not found.
Vous pouvez utiliser New-Object pour utiliser des composants COM (Component Object Model).
You can use New-Object to work with Component Object Model (COM) components.
Dans certains cas, un objet COM peut être associé à un wrapper RCW (wrapper pouvant être appelé par le runtime) .NET Framework, qui sera utilisé par New-Object.
Getting Warnings About.NET Framework-Wrapped COM Objects In some cases, a COM object might have an associated.NET Framework Runtime-Callable Wrapper or RCW, and this will be used by New-Object.