Type.IsMarshalByRef Property


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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

abstract IsMarshalByRef : bool with get
override IsMarshalByRef : bool with get

Property Value

Type: System.Boolean

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

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 marshaled by reference, and whether the type is a primitive data type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Windows Phone Silverlight
Available since 8.0
Return to top