MethodBuilder.DefineGenericParametersCore(String[]) 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, sets the number of generic type parameters for the current method, specifies their names, and returns an array of GenericTypeParameterBuilder objects that can be used to define their constraints.
protected:
abstract cli::array <System::Reflection::Emit::GenericTypeParameterBuilder ^> ^ DefineGenericParametersCore(... cli::array <System::String ^> ^ names);
protected abstract System.Reflection.Emit.GenericTypeParameterBuilder[] DefineGenericParametersCore (params string[] names);
abstract member DefineGenericParametersCore : string[] -> System.Reflection.Emit.GenericTypeParameterBuilder[]
Protected MustOverride Function DefineGenericParametersCore (ParamArray names As String()) As GenericTypeParameterBuilder()
Parameters
- names
- String[]
An array of strings that represent the names of the generic type parameters.
Returns
An array of GenericTypeParameterBuilder objects representing the type parameters of the generic method.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za