_Type.IsMarshalByRef 屬性

定義

為 COM 物件提供與版本無關的 IsMarshalByRef 屬性之存取權。

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

屬性值

如果 true 是以傳址方式進行封送處理,則為 Type,否則為 false

備註

此屬性適用於從 Unmanaged 程式代碼存取 Managed 類別,而且不應該從 Managed 程式代碼呼叫。

屬性 Type.IsMarshalByRef 會取得值,指出 Type 是否以傳址方式封送處理。

適用於