.NET Framework Class Library  

Void Structure

Indicates a method that does not return a value; that is, the method has the void return type.

For a list of all members of this type, see Void Members.

System.Object
   System.ValueType
      System.Void

[Visual Basic]
<Serializable>
Public Structure Void
[C#]
[Serializable]
public struct Void
[C++]
[Serializable]
public __value struct Void

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

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

Remarks

This structure is used in the System.Reflection namespace. This structure has no members, and you cannot create an instance of this structure.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework - Windows CE .NET

Assembly: Mscorlib (in Mscorlib.dll)

See Also

Void Members | System Namespace