Void Struktura

Definice

Určuje návratový typ hodnoty pro metodu, která nevrací hodnotu.

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
Dědičnost
Atributy

Poznámky

Struktura Void se používá v System.Reflection oboru názvů, ale zřídka je užitečná v typické aplikaci. Struktura Void nemá žádné jiné členy než ty, které všechny typy dědí z Object třídy.

Platí pro