This documentation is archived and is not being maintained.

Type.IsMarshalByRef Property

Gets a value indicating whether the Type is marshaled by reference.

[Visual Basic]
Public ReadOnly Property IsMarshalByRef As Boolean
public bool IsMarshalByRef {get;}
public: __property bool get_IsMarshalByRef();
public function get IsMarshalByRef() : Boolean;

Property Value

true if the Type is marshaled by reference; otherwise, false.


[Visual Basic, C#, C++] The following example demonstrates the IsContextful, IsMarshalByRef, and IsPrimitive properties of the Type class. It checks whether the given type can be hosted in the context, whether it can be marshalled by reference, and whether the type is a primitive data type.

[Visual Basic] 

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

See Also

Type Class | Type Members | System Namespace | IsMarshalByRefImpl