Mono Class Library: System.Type Overview | Members

System.Type.MakeByRefType Method

Returns a Type object that represents the current type when passed as a byref parameter.

public virtual Type MakeByRefType ()

Returns

A Type object that represents the current type when passed as a byref parameter.

Remarks

This method provides a way to generate a byref type for any type.

Note: Using ilasm syntax, if the current Type object represents int32, this method returns a Type object representing int32&.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0