Compartir a través de


TargetSetCollection.Contains Método (String)

Verifies whether the specified string exists in the collection.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    filterTypeSkeleton As String _
) As Boolean
'Uso
Dim instance As TargetSetCollection 
Dim filterTypeSkeleton As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(filterTypeSkeleton)
public bool Contains(
    string filterTypeSkeleton
)
public:
bool Contains(
    String^ filterTypeSkeleton
)
member Contains : 
        filterTypeSkeleton:string -> bool
public function Contains(
    filterTypeSkeleton : String
) : boolean

Parámetros

  • filterTypeSkeleton
    Tipo: System.String
    The String value that is to be found in the collection.

Valor devuelto

Tipo: System.Boolean
A Boolean value that determines whether the specified string exists in the collection. If True, the string exists in the collection. Otherwise, False.

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Usar colecciones

Vea también

Referencia

TargetSetCollection Clase

Sobrecarga de Contains

Espacio de nombres Microsoft.SqlServer.Management.Dmf