MethodBuilder.SetSignatureCore Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
När den åsidosättas i en härledd klass anger du metodsignaturen, inklusive returtyp, parametertyper och nödvändiga och valfria anpassade modifierare för returtyp och parametertyper.
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()())
Parametrar
- returnType
- Type
Metodens returtyp.
- returnTypeRequiredCustomModifiers
- Type[]
En matris med typer som representerar nödvändiga anpassade modifierare.
- returnTypeOptionalCustomModifiers
- Type[]
En matris med typer som representerar de valfria anpassade modifierarna.
- parameterTypes
- Type[]
Typerna av parametrarna för metoden.
- parameterTypeRequiredCustomModifiers
- Type[][]
En matris med matriser av typer. Varje matris med typer representerar nödvändiga anpassade modifierare för motsvarande parameter.
- parameterTypeOptionalCustomModifiers
- Type[][]
En matris med matriser av typer. Varje typmatris representerar de valfria anpassade modifierarna för motsvarande parameter.