Void Void Void Void Struct

定義

為不傳回任何值的方法指定傳回實值型別 (Value Type)。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
繼承
屬性

備註

結構會用於System.Reflection命名空間中, 但在一般應用程式中很少有用。 VoidThe Void structure is used in the System.Reflection namespace, but is rarely useful in a typical application. 結構不具有所有類型都繼承Object自類別的成員。 VoidThe Void structure has no members other than the ones all types inherit from the Object class.

適用於