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 類別以外的成員。

適用於