Export (0) Print
Expand All

Type.IsMarshalByRef Property

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

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

Property Value

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

Example

[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] 
[C#] 
[C++] 

[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.

Requirements

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

Show:
© 2014 Microsoft