Mono Class Library: System.Type Overview | Members

System.Type.MakePointerType Method

Returns a Type object that represents the type of an unmanaged pointer to the current type.

public virtual Type MakePointerType ()

Returns

A Type object that represents the type of an unmanaged pointer to the current type.

Remarks

This method provides a way to generate an unmanaged pointer type for types computed at runtime.

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