MethodBuilder.SetSignatureCore Metoda

Definice

Při přepsání v odvozené třídě nastaví podpis metody, včetně návratového typu, typů parametrů a povinných a volitelných vlastních modifikátorů návratového typu a typů parametrů.

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()())

Parametry

returnType
Type

Návratový typ metody.

returnTypeRequiredCustomModifiers
Type[]

Pole typů představujících požadované vlastní modifikátory.

returnTypeOptionalCustomModifiers
Type[]

Pole typů představujících volitelné vlastní modifikátory.

parameterTypes
Type[]

Typy parametrů metody.

parameterTypeRequiredCustomModifiers
Type[][]

Pole polí typů. Každé pole typů představuje požadované vlastní modifikátory pro odpovídající parametr.

parameterTypeOptionalCustomModifiers
Type[][]

Pole polí typů. Každé pole typů představuje volitelné vlastní modifikátory pro odpovídající parametr.

Platí pro