Type.GetFunctionPointerCallingConventions 方法

定义

在派生类中重写时,返回当前函数指针的调用约定 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()

返回

Type[]

表示当前函数指针Type的所有调用约定的对象数组Type

-或-

一个空数组 Type,如果当前函数指针 Type未定义调用约定,则为空数组。

-或-

类型的空数组 Type,如果当前函数指针 Type 不是修改 Type的。 已Type修改的是从GetModifiedFieldType()GetModifiedPropertyType()GetModifiedParameterType()从中获取的。

例外

当前类型不是函数指针。 也就是说,该 IsFunctionPointer 属性返回 false

注解

此方法为托管编译器的设计器提供。 有关自定义修饰符的详细信息,请参阅命名空间中的 System.Runtime.CompilerServices 类。

适用于