Void 结构

定义

为不返回值的方法指定返回值类型。Specifies a return value type for a method that does not return a value.

public value class Void
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct Void
type unit = struct
Public Structure Void
继承
属性

注解

结构Void用于System.Reflection命名空间, 但在典型的应用程序中很少用到。The Void structure is used in the System.Reflection namespace, but is rarely useful in a typical application. 除了Void所有类型都继承Object自类的成员以外, 结构不包含任何成员。The Void structure has no members other than the ones all types inherit from the Object class.

适用于