Metodo ObjectSetCollection.Contains (String)

Verifies whether the specified string exists in the collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    name As String _
) As Boolean
'Utilizzo
Dim instance As ObjectSetCollection 
Dim name As String 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that specifies whether the specified string exists in the collection. If True, the key values are equal. Otherwise, False.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Utilizzo delle raccolte

Vedere anche

Riferimento

ObjectSetCollection Classe

Overload Contains

Spazio dei nomi Microsoft.SqlServer.Management.Dmf