Type.IsByRefLike Property


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

 virtual property bool IsByRefLike { bool get(); };
public virtual bool IsByRefLike { get; }
member this.IsByRefLike : bool
Public Overridable ReadOnly Property IsByRefLike As Boolean

Property Value

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


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