Redigera

Dela via


MethodBuilder.SetSignatureCore Method

Definition

When overridden in a derived class, sets the method signature, including the return type, the parameter types, and the required and optional custom modifiers of the return type and parameter types.

protected:
 abstract void SetSignatureCore(Type ^ returnType, cli::array <Type ^> ^ returnTypeRequiredCustomModifiers, cli::array <Type ^> ^ returnTypeOptionalCustomModifiers, cli::array <Type ^> ^ parameterTypes, cli::array <cli::array <Type ^> ^> ^ parameterTypeRequiredCustomModifiers, cli::array <cli::array <Type ^> ^> ^ parameterTypeOptionalCustomModifiers);
protected abstract void SetSignatureCore (Type? returnType, Type[]? returnTypeRequiredCustomModifiers, Type[]? returnTypeOptionalCustomModifiers, Type[]? parameterTypes, Type[][]? parameterTypeRequiredCustomModifiers, Type[][]? parameterTypeOptionalCustomModifiers);
abstract member SetSignatureCore : Type * Type[] * Type[] * Type[] * Type[][] * Type[][] -> unit
Protected MustOverride Sub SetSignatureCore (returnType As Type, returnTypeRequiredCustomModifiers As Type(), returnTypeOptionalCustomModifiers As Type(), parameterTypes As Type(), parameterTypeRequiredCustomModifiers As Type()(), parameterTypeOptionalCustomModifiers As Type()())

Parameters

returnType
Type

The return type of the method.

returnTypeRequiredCustomModifiers
Type[]

An array of types representing the required custom modifiers.

returnTypeOptionalCustomModifiers
Type[]

An array of types representing the optional custom modifiers.

parameterTypes
Type[]

The types of the parameters of the method.

parameterTypeRequiredCustomModifiers
Type[][]

An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter.

parameterTypeOptionalCustomModifiers
Type[][]

An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter.

Applies to