Lire en anglais Modifier

Partager via


Type.IsByRefLike Property

Definition

Gets a value that indicates whether the type is a byref-like structure.

public virtual bool IsByRefLike { get; }

Property Value

true if the Type is a byref-like structure; otherwise, false.

Remarks

Byref-like structures are declared using ref struct keyword in C#. An instance of the byref-like structure can't be placed on the managed heap. For more information, see Ref struct.

Applies to

Produit Versions
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1