AutomationNull Class

Indicates a void return result.


Namespace: System.Management.Automation.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage

public ref class AutomationNull abstract sealed
public final class AutomationNull
public final class AutomationNull

AutomationNull is a singleton class that is sealed to prevent subclassing.

Any operation that returns no actual value should return AutomationNull.Value.

Any component that evaluates a Windows PowerShell expression should be prepared to deal with receiving and discarding this result. When received in an evaluation where a value is required, it should be replaced with null.


System.Object
  System.Management.Automation.Internal.AutomationNull

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft