Void Structure
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies a return value type for a method that does not return a value.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
The Void type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) In XNA Framework 3.0, this member is inherited from Object.ToString(). |
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.
Windows 8 Release Preview, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.