System.Type.MakePointerType Method

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

Syntax

public virtual Type MakePointerType ()

Returns

A Type object that represents a pointer to the current type.

Remarks

The Type.MakePointerType method provides a way to generate pointer types for parameter lists.

Using the syntax of Microsoft intermediate language (MSIL), if the current Type object represents int, this method returns a Type object representing Int32*.

Requirements

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