Version: 2022.3
言語: 日本語
public static bool IsUnmanaged ();
public static bool IsUnmanaged (Type type);

パラメーター

type The System.Type of a struct.

戻り値

bool True if struct is unmanaged, otherwise false.

説明

Returns whether the struct or type is unmanaged. An unmanaged type contains no managed fields, and can be freely copied in memory.