Type.IsByRefLike Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the type is a byref-like structure.
public:
virtual property bool IsByRefLike { bool get(); };
public virtual bool IsByRefLike { get; }
member this.IsByRefLike : bool
Public Overridable ReadOnly Property IsByRefLike As Boolean
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.
Product | Versions |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: