AddTypeCommand.OutputType Property

Gets and sets the value of the OutputType parameter of the Add-Type cmdlet. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Usage

'Usage
Dim instance As AddTypeCommand
Dim value As OutputAssemblyType

value = instance.OutputType

instance.OutputType = value

Syntax

'Declaration
<AliasAttribute(System.String[])> _
<ParameterAttribute(ParameterSetName:="FromLiteralPath")> _
<ParameterAttribute(ParameterSetName:="FromMember")> _
<ParameterAttribute(ParameterSetName:="FromPath")> _
<ParameterAttribute(ParameterSetName:="FromSource")> _
Public Property OutputType As OutputAssemblyType
[AliasAttribute(System.String[])] 
[ParameterAttribute(ParameterSetName="FromLiteralPath")] 
[ParameterAttribute(ParameterSetName="FromMember")] 
[ParameterAttribute(ParameterSetName="FromPath")] 
[ParameterAttribute(ParameterSetName="FromSource")] 
public OutputAssemblyType OutputType { get; set; }
[AliasAttribute(System.String[])] 
[ParameterAttribute(ParameterSetName=L"FromLiteralPath")] 
[ParameterAttribute(ParameterSetName=L"FromMember")] 
[ParameterAttribute(ParameterSetName=L"FromPath")] 
[ParameterAttribute(ParameterSetName=L"FromSource")] 
public:
property OutputAssemblyType OutputType {
    OutputAssemblyType get ();
    void set (OutputAssemblyType value);
}
/** @property */
public OutputAssemblyType get_OutputType ()

/** @property */
public void set_OutputType (OutputAssemblyType value)
public function get OutputType () : OutputAssemblyType

public function set OutputType (value : OutputAssemblyType)

Property Value

An OutputAssemblyType constant.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Add-Type in the Microsoft TechNet Library.

For Help at the command line, type:

get-help add-type

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

AddTypeCommand Class
AddTypeCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK