MetadataBuilder.AddParameter(ParameterAttributes, StringHandle, Int32) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加参数定义。
public:
 System::Reflection::Metadata::ParameterHandle AddParameter(System::Reflection::ParameterAttributes attributes, System::Reflection::Metadata::StringHandle name, int sequenceNumber);
	public System.Reflection.Metadata.ParameterHandle AddParameter(System.Reflection.ParameterAttributes attributes, System.Reflection.Metadata.StringHandle name, int sequenceNumber);
	member this.AddParameter : System.Reflection.ParameterAttributes * System.Reflection.Metadata.StringHandle * int -> System.Reflection.Metadata.ParameterHandle
	Public Function AddParameter (attributes As ParameterAttributes, name As StringHandle, sequenceNumber As Integer) As ParameterHandle
	参数
- attributes
 - ParameterAttributes
 
参数特性。
- name
 - StringHandle
 
可选。 参数名称。
- sequenceNumber
 - Int32
 
参数的序列号。 值为 0 表示所有者方法的返回类型;然后从 1 开始对其参数进行编号。
返回
已添加的参数的句柄。
例外
              sequenceNumber 大于 UInt16.MaxValue。