Section courante

A propos

Section administrative du site

Add-Type

Ajouter un type
PowerShell

Syntaxe

Add-Type [-TypeDefinition] String [-Language Language] [-ReferencedAssemblies String[]] [-OutputAssembly String] [-OutputType OutputAssemblyType] [-PassThru] [-IgnoreWarnings] [-CompilerOptions String[]] [CommonParameters]
Add-Type [-Name] String [-MemberDefinition] String[] [-Namespace String] [-UsingNamespace String[]] [-Language Language] [-ReferencedAssemblies String[]] [-OutputAssembly String] [-OutputType OutputAssemblyType] [-PassThru] [-IgnoreWarnings] [-CompilerOptions String[]] [CommonParameters]
Add-Type [-Path] String[] [-ReferencedAssemblies String[]] [-OutputAssembly String] [-OutputType OutputAssemblyType] [-PassThru] [-IgnoreWarnings] [-CompilerOptions String[]] [CommonParameters]
Add-Type -LiteralPath String[] [-ReferencedAssemblies String[]] [-OutputAssembly String] [-OutputType OutputAssemblyType] [-PassThru] [-IgnoreWarnings] [-CompilerOptions String[]] [CommonParameters]
Add-Type -AssemblyName String[] [-PassThru] [CommonParameters]

Description

Cette commande permet d'ajouter le type de Microsoft .NET Core dans une session PowerShell.



Dernière mise à jour : Mardi, le 12 Janvier 2021