Adds an argument to the signature. Takes a Type and determines whether it is one of the primitive types or a more general class. In the former case, the method adds the appropriate short cut encoding, otherwise the method calculates the proper description for the type.
[Visual Basic] Public Sub AddArgument( _ ByVal clsArgument As Type _ ) [C#] public void AddArgument( Type clsArgument ); [C++] public: void AddArgument( Type* clsArgument ); [JScript] public function AddArgument( clsArgument : Type );
Exception Type | Condition |
---|---|
ArgumentException | if the signature has already been finalized |
SignatureHelper Class | SignatureHelper Members | System.Reflection.Emit Namespace