Edit

Share via


Type.GetFunctionPointerParameterTypes Method

Definition

When overridden in a derived class, returns the parameter types of the current function pointer Type.

C#
public virtual Type[] GetFunctionPointerParameterTypes();

Returns

Type[]

An array of Type objects representing all the parameter types for the current function pointer Type.

-or-

An empty array of type Type, if no parameters are defined for the current function pointer Type.

Exceptions

The current type is not a function pointer. That is, the IsFunctionPointer property returns false.

Applies to

Product Versions
.NET 8, 9