Void 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定未傳回值之方法的傳回值類型。
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 類別繼承的成員外,沒有其他成員。