Metodo 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 PolicyCollection
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
- name
Tipo: System. . :: . .String
The String value that is to be found in the collection.
Valore restituito
Tipo: System. . :: . .Boolean
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.