Attaches a modifier to parameters so that binding can work with parameter signatures in which the types have been modified.
See Also: ParameterModifier Members
The System.Reflection.ParameterModifier structure is used with the Type.InvokeMember(string, BindingFlags, Binder, object, Object[], ParameterModifier[], System.Globalization.CultureInfo, String[]) method overload when passing parameters by reference to a COM component that is accessed late bound. The parameters that are to be passed by reference are specified by a single System.Reflection.ParameterModifier structure, which must be passed in an array containing a single element. The single System.Reflection.ParameterModifier structure in this array must be initialized with the number of parameters in the member that is to be invoked. To indicate which of these parameters are passed by reference, set the value of the ParameterModifier.Item(int) property (the indexer in C#) to true for the index number corresponding to the zero-based position of the parameter.