Share via


RegisterScheduledJobCommand.ArgumentList Property

Gets or sets the argument list for the FilePath property or the ScriptBlock property. This property represents the ArgumentList cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

Usage

'Usage
Dim instance As RegisterScheduledJobCommand
Dim value As Object()

value = instance.ArgumentList

instance.ArgumentList = value

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="ScriptBlock")> _
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute(ParameterSetName:="FilePath")> _
Public Property ArgumentList As Object()
[ParameterAttribute(ParameterSetName="ScriptBlock")] 
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName="FilePath")] 
public Object[] ArgumentList { get; set; }
[ParameterAttribute(ParameterSetName=L"ScriptBlock")] 
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName=L"FilePath")] 
public:
property array<Object^>^ ArgumentList {
    array<Object^>^ get ();
    void set (array<Object^>^ value);
}
/** @property */
public Object[] get_ArgumentList ()

/** @property */
public void set_ArgumentList (Object[] value)
public function get ArgumentList () : Object[]

public function set ArgumentList (value : Object[])

Property Value

Returns an array of Object objects.

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

RegisterScheduledJobCommand Class
RegisterScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace