# GenericInfo\.FindTypeParameter\(String\) Method

[Home](../../../../../README.md)

**Containing Type**: [GenericInfo](../README.md)

**Assembly**: Roslynator\.CSharp\.dll

\
Searches for a type parameter with the specified name and returns the first occurrence within the type parameters\.

```csharp
public Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterSyntax FindTypeParameter(string name)
```

### Parameters

**name** &ensp; [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)

### Returns

[TypeParameterSyntax](https://docs.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.csharp.syntax.typeparametersyntax)

