OutputTypeAttribute Constructors

Definition

Overloads

OutputTypeAttribute(String[])

Construct the attribute from an array of names of types.

OutputTypeAttribute(Type[])

Construct the attribute from an array of System.Type

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.OutputTypeAttribute
Public 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 System.Type

public:
 OutputTypeAttribute(... cli::array <Type ^> ^ type);
public OutputTypeAttribute (params Type[] type);
new System.Management.Automation.OutputTypeAttribute : Type[] -> System.Management.Automation.OutputTypeAttribute
Public Sub New (ParamArray type As Type())

Parameters

type
Type[]

The types output by the cmdlet.

Applies to