TypeDelegator.GetFunctionPointerCallingConventions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, returns the calling conventions of the current function pointer Type.
public:
override cli::array <Type ^> ^ GetFunctionPointerCallingConventions();
public override Type[] GetFunctionPointerCallingConventions ();
override this.GetFunctionPointerCallingConventions : unit -> Type[]
Public Overrides Function GetFunctionPointerCallingConventions () As Type()
Returns
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.