Freigeben über


TargetSetCollection.Contains-Methode (String)

Verifies whether the specified string exists in the collection.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function Contains ( _
    filterTypeSkeleton As String _
) As Boolean
'Usage
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

Parameter

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

Rückgabewert

Typ: 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.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Verwenden von Auflistungen

Siehe auch

Verweis

TargetSetCollection Klasse

Contains-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace