Επεξεργασία

Κοινή χρήση μέσω


CodeTypeParameterCollection.IndexOf(CodeTypeParameter) Method

Definition

Gets the index in the collection of the specified CodeTypeParameter object, if it exists in the collection.

public:
 int IndexOf(System::CodeDom::CodeTypeParameter ^ value);
public int IndexOf (System.CodeDom.CodeTypeParameter value);
member this.IndexOf : System.CodeDom.CodeTypeParameter -> int
Public Function IndexOf (value As CodeTypeParameter) As Integer

Parameters

value
CodeTypeParameter

The CodeTypeParameter object to locate in the collection.

Returns

The zero-based index of the specified CodeTypeParameter object in the collection if found; otherwise, -1.

Applies to

See also