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 類別繼承的成員外,沒有其他成員。

適用於