OutputTypeAttribute Constructor

Creates a new OutputTypeAttribute object. The variants of this constructor can specify the types using a String array or a Type array. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
OutputTypeAttribute (String[])Creates a new OutputTypeAttribute object that contains the names of the types that are returned by the cmdlet, script, or function. This constructor is introduced by Windows PowerShell 2.0.
OutputTypeAttribute (Type[])Creates a new OutputTypeAttribute object that contains an array of the .NET Framework types that are returned by the cmdlet, script, or function. This constructor is introduced by Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft