Skip to content

TypeExtensions.IsReadOnlyStruct Method ​

Definition ​

Returns true if the specified Type is a readonly struct; false otherwise.

c#
public static bool IsReadOnlyStruct(this Type type);

View source

Parameters ​

NameTypeDescription
typeTypeThe type.

Returns ​

Boolean

true if the specified Type is a readonly struct; false otherwise.