CodeTypeParameterCollection.Add 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 the specified CodeTypeParameter object to the collection.
Overloads
| Add(CodeTypeParameter) | Adds the specified CodeTypeParameter object to the collection. | 
| Add(String) | Adds the specified CodeTypeParameter object to the collection using the specified data type name. | 
Add(CodeTypeParameter)
Adds the specified CodeTypeParameter object to the collection.
public:
 int Add(System::CodeDom::CodeTypeParameter ^ value);public int Add(System.CodeDom.CodeTypeParameter value);member this.Add : System.CodeDom.CodeTypeParameter -> intPublic Function Add (value As CodeTypeParameter) As IntegerParameters
- value
- CodeTypeParameter
The CodeTypeParameter to add.
Returns
The zero-based index at which the new element was inserted.
See also
Applies to
Add(String)
Adds the specified CodeTypeParameter object to the collection using the specified data type name.
public:
 void Add(System::String ^ value);public void Add(string value);member this.Add : string -> unitPublic Sub Add (value As String)Parameters
- value
- String
The name of a data type for which to add the CodeTypeParameter object to the collection.