Uređivanje

Dijeli putem


Type.GetFunctionPointerCallingConventions Method

Definition

When overridden in a derived class, returns the calling conventions of the current function pointer Type.

public:
 virtual cli::array <Type ^> ^ GetFunctionPointerCallingConventions();
public virtual Type[] GetFunctionPointerCallingConventions ();
abstract member GetFunctionPointerCallingConventions : unit -> Type[]
override this.GetFunctionPointerCallingConventions : unit -> Type[]
Public Overridable Function GetFunctionPointerCallingConventions () As Type()

Returns

Type[]

An array of Type objects representing all the calling conventions for the current function pointer Type.

-or-

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

-or-

An empty array of type Type, if the current function pointer Type is not a modified Type. A modified Type is obtained from GetModifiedFieldType(), GetModifiedPropertyType(), or GetModifiedParameterType().

Exceptions

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

Remarks

This method is provided for designers of managed compilers. For more information on custom modifiers, see classes in the System.Runtime.CompilerServices namespace.

Applies to