ServiceNameCollection.Contains(String) Método

Definición

Devuelve un valor que indica si la cadena especificada aparece dentro de esta instancia ServiceNameCollection.

public:
 bool Contains(System::String ^ searchServiceName);
public bool Contains (string? searchServiceName);
public bool Contains (string searchServiceName);
member this.Contains : string -> bool
Public Function Contains (searchServiceName As String) As Boolean

Parámetros

searchServiceName
String

Cadena que se va a buscar.

Devoluciones

Devuelve Boolean.

true si el parámetro searchServiceName aparece dentro de esta instancia de ServiceNameCollection; si no, false.

Se aplica a