Metodo Contains (Int32)
Verifies whether the specified ID value 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 ( _
id As Integer _
) As Boolean
'Utilizzo
Dim instance As PolicyCategorySubscriptionCollection
Dim id As Integer
Dim returnValue As Boolean
returnValue = instance.Contains(id)
public bool Contains(
int id
)
public:
bool Contains(
int id
)
member Contains :
id:int -> bool
public function Contains(
id : int
) : boolean
Parametri
- id
Tipo: System. . :: . .Int32
The Int32 value that is to be found in the collection.
Valore restituito
Tipo: System. . :: . .Boolean
A Boolean value that specifies whether the ID value exists in the collection. If True, it exists. Otherwise, False.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.