However , when referring to a named parameter elsewhere in your code for example , when calling the 但是,在代码中其他地方引用命名参数时(例如,当调用
Parameters are indicated either with a placeholder a question mark or with a named parameter variable 属性。参数用占位符(问号)或命名参数变量指示。
Many attributes have parameters , which can be either positional , unnamed , or named 许多属性都有参数,而这些参数可以是定位(未命名)参数也可以是命名参数。
The second parameter is a named argument that specifies the name of the function in the windows api 第二个参数是一个命名参数,指定windows api中的函数名称。
Named parameters are not defined on the attribute constructor ; rather they are public fields or properties 属性构造函数上不定义命名参数;相反,它们是公共字段或属性。
Delegate differs from a regular delegate in that it can take several named parameters and combine them together 与常规委托不同,它可采用若干命名参数并组合在一起使用。
Named arguments can only be used to set the values of fields and properties of attribute classes 构造函数中,必须使用位置参数。命名参数只能用于设置属性类的字段和属性的值。
One of the named parameter arrays contains a string that is a null reference nothing in visual basic 某个命名参数数组包含一个为空引用(在visual basic中为nothing )的字符串。
This named parameter specifies whether the indicated attribute can be inherited by derived classes and overriding members 该命名参数指定所指示的属性能否由派生类和重写成员继承。
You specify a named argument by appending " : " to the name of the argument , followed by the value being specified 通过给参数的名称追加“ : = ”可指定命名参数,等号后面是指定的值。