AddTypeCommand.CompilerParameters Property
Gets and sets the value of the CompilerParameters 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 CompilerParameters
value = instance.CompilerParameters
instance.CompilerParameters = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="FromSource")> _
<ParameterAttribute(ParameterSetName:="FromMember")> _
<ParameterAttribute(ParameterSetName:="FromPath")> _
<ParameterAttribute(ParameterSetName:="FromLiteralPath")> _
<AliasAttribute(System.String[])> _
Public Property CompilerParameters As CompilerParameters
[ParameterAttribute(ParameterSetName="FromSource")]
[ParameterAttribute(ParameterSetName="FromMember")]
[ParameterAttribute(ParameterSetName="FromPath")]
[ParameterAttribute(ParameterSetName="FromLiteralPath")]
[AliasAttribute(System.String[])]
public CompilerParameters CompilerParameters { get; set; }
[ParameterAttribute(ParameterSetName=L"FromSource")]
[ParameterAttribute(ParameterSetName=L"FromMember")]
[ParameterAttribute(ParameterSetName=L"FromPath")]
[ParameterAttribute(ParameterSetName=L"FromLiteralPath")]
[AliasAttribute(System.String[])]
public:
property CompilerParameters^ CompilerParameters {
CompilerParameters^ get ();
void set (CompilerParameters^ value);
}
/** @property */
public CompilerParameters get_CompilerParameters ()
/** @property */
public void set_CompilerParameters (CompilerParameters value)
public function get CompilerParameters () : CompilerParameters
public function set CompilerParameters (value : CompilerParameters)
Property Value
A CompilerParameters object that contains the parameters for the source code compiler. These parameters are sent to the compiler without revision.
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