Void 结构

定义

为不返回值的方法指定返回值类型。

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

注解

Void 结构在命名空间中使用 System.Reflection ,但在典型应用程序中很少有用。 该 Void 结构除了所有类型都继承自 Object 该类之外,没有成员。

适用于