MetadataBuilder.AddParameter(ParameterAttributes, StringHandle, Int32) 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.
Adds a parameter definition.
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
	Parameters
- attributes
 - ParameterAttributes
 
The parameter attributes.
- name
 - StringHandle
 
Optional. The parameter name.
- sequenceNumber
 - Int32
 
The sequence number of the parameter. A value of 0 refers to the owner method's return type; its parameters are then numbered from 1 onward.
Returns
A handle to the added parameter.
Exceptions
sequenceNumber is greater than UInt16.MaxValue.