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.

适用于