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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.