編輯

共用方式為


CodeTypeParameterCollection.Add Method

Definition

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)

Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs

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 -> int
Public Function Add (value As CodeTypeParameter) As Integer

Parameters

Returns

The zero-based index at which the new element was inserted.

See also

Applies to

Add(String)

Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs
Source:
CodeTypeParameterCollection.cs

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 -> unit
Public Sub Add (value As String)

Parameters

value
String

The name of a data type for which to add the CodeTypeParameter object to the collection.

Applies to