共用方式為


WriteOrThrowErrorCommand.TargetObject Property

Definition

ErrorRecord.TargetObject.

public:
 property System::Object ^ TargetObject { System::Object ^ get(); void set(System::Object ^ value); };
public:
 property Platform::Object ^ TargetObject { Platform::Object ^ get(); void set(Platform::Object ^ value); };
public object TargetObject { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="NoException")]
[System.Management.Automation.Parameter(ParameterSetName="WithException")]
public object TargetObject { get; set; }
member this.TargetObject : obj with get, set
[<System.Management.Automation.Parameter(ParameterSetName="NoException")>]
[<System.Management.Automation.Parameter(ParameterSetName="WithException")>]
member this.TargetObject : obj with get, set
Public Property TargetObject As Object

Property Value

Attributes

Applies to