_Type.IsMarshalByRef _Type.IsMarshalByRef _Type.IsMarshalByRef _Type.IsMarshalByRef Property

定义

为 COM 对象提供对 IsMarshalByRef 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsMarshalByRef property.

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

属性值

如果 true 是由引用封送的,则为 Type;否则为 falsetrue if the Type is marshaled by reference; otherwise, false.

注解

此属性是用于访问托管类到从非托管代码,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.IsMarshalByRef属性获取一个值,该值指示类型是否由引用封送处理。The Type.IsMarshalByRef property gets a value indicating whether the Type is marshaled by reference.

适用于