Array.Empty Array.Empty Array.Empty Array.Empty Method

定義

傳回空陣列。Returns an empty array.

public:
generic <typename T>
 static cli::array <T> ^ Empty();
public static T[] Empty<T> ();
static member Empty : unit -> 'T[]
Public Shared Function Empty(Of T) () As T()

類型參數

T

陣列項目的類型。The type of the elements of the array.

傳回

T[]

空的陣列。An empty array.

適用於