AutomationNull Class
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.
This is a singleton object that is used to indicate a void return result.
public ref class AutomationNull abstract sealed
public static class AutomationNull
type AutomationNull = class
Public Class AutomationNull
- Inheritance
-
AutomationNull
Remarks
It's a singleton class. Sealed to prevent subclassing. Any operation that returns no actual value should return this object AutomationNull.Value. Anything that evaluates a PowerShell expression should be prepared to deal with receiving this result and discarding it. When received in an evaluation where a value is required, it should be replaced with null.
Properties
Value |
Returns the singleton instance of this object. |