System.Void Structure

Specifies a return value type for a method that does not return a value.

See Also: Void

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public struct Void

Remarks

The Void structure is used in the System.Reflection namespace, but is rarely useful in a typical application. The Void structure has no members other than the ones all types inherit from the Object class.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0

The members of System.Void are listed below.

See Also: ValueType