IsMarshalByRef Property

Type.IsMarshalByRef Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public ReadOnly Property IsMarshalByRef As Boolean

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:
© 2017 Microsoft