Type.IsByRefLike 屬性

定義

取得值,指出類型是否為 byref-like 結構。

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

屬性值

trueType如果 是類似 byref 的結構,則為 ,否則為 false

備註

類似 Byref 的結構會在 C# 中使用 ref struct 關鍵字來宣告。 byref 類似結構的實例無法放在 Managed 堆積上。 如需詳細資訊,請參閱 Ref 結構

適用於