| Contents | Index |
Represent parameterized generic type definitions
Instances of this class are used by the NET.createGeneric function when creation of generic specialization requires parameterization with another parameterized type.
genType = NET.GenericClass (className, paramTypes)
Handle. To learn how handle classes affect copy operations, see Copying Objects in the MATLAB Programming Fundamentals documentation.
Create an instance of System.Collections.Generic.List of System.Collections.Generic.KeyValuePair generic associations where Key is of System.Int32 type and Value is a System.String class with initial storage capacity for 10 key-value pairs.
kvpType = NET.GenericClass('System.Collections.Generic.KeyValuePair',...
'System.Int32', 'System.String');
kvpList = NET.createGeneric('System.Collections.Generic.List',...
{ kvpType }, 10);
NET.createArray | NET.createGeneric | NET.invokeGenericMethod

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |