OutputTypeAttribute
Class
Definition
OutputTypeAttribute is used to specify the type of objects output by a cmdlet or script.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class OutputTypeAttribute : System.Management.Automation.Internal.CmdletMetadataAttribute
- Inheritance
- Attributes
Constructors
| OutputTypeAttribute(String[]) |
Construct the attribute from an array of names of types. |
| OutputTypeAttribute(Type[]) |
Construct the attribute from an array of |
Properties
| ParameterSetName |
The list of parameter sets this OutputType specifies. |
| ProviderCmdlet |
Attributes implemented by a provider can use:
|
| Type |
The types specified by the attribute. |