OutputTypeAttribute Constructors  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| OutputTypeAttribute(String[]) | Construct the attribute from an array of names of types. | 
| OutputTypeAttribute(Type[]) | Construct the attribute from an array of <see>System.Type</see> | 
OutputTypeAttribute(String[])
Construct the attribute from an array of names of types.
public:
 OutputTypeAttribute(... cli::array <System::String ^> ^ type);public OutputTypeAttribute(params string[] type);new System.Management.Automation.OutputTypeAttribute : string[] -> System.Management.Automation.OutputTypeAttributePublic Sub New (ParamArray type As String())Parameters
- type
- String[]
The types output by the cmdlet.
Applies to
OutputTypeAttribute(Type[])
Construct the attribute from an array of <see>System.Type</see>
public:
 OutputTypeAttribute(... cli::array <Type ^> ^ type);public OutputTypeAttribute(params Type[] type);new System.Management.Automation.OutputTypeAttribute : Type[] -> System.Management.Automation.OutputTypeAttributePublic Sub New (ParamArray type As Type())Parameters
- type
- Type[]
The types output by the cmdlet.