ErrorRecord.TargetObject Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The object against which the error occurred.
public:
 property System::Object ^ TargetObject { System::Object ^ get(); };public:
 property Platform::Object ^ TargetObject { Platform::Object ^ get(); };public object TargetObject { get; }member this.TargetObject : objPublic ReadOnly Property TargetObject As ObjectProperty Value
may be null