Click or drag to resize

TypeDeclFindTypeParameterIndex Method (TypeParameter)

Find the index of the specified TypeParameter in the declaration of the TypeDecl or an enclosing TypeDecl if this one is nested. Also handles partial types.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public int FindTypeParameterIndex(
	TypeParameter typeParameter
)

Parameters

typeParameter
Type: Nova.CodeDOMTypeParameter

Return Value

Type: Int32
The index of the TypeParameter, or -1 if not found.
See Also