Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Type.IsMarshalByRef Property

July 28, 2014

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

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

public bool IsMarshalByRef { 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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft