CodeTypeParameterCollection.IndexOf(CodeTypeParameter) 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.
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.