Share via


ITriggerEventSet<T>.Contains Method

Determines whether an element is in the set.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As ITriggerEventSet
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Contains(item)
bool Contains(
    T item
)
bool Contains(
    T item
)
abstract Contains : 
        item:'T -> bool 
function Contains(
    item : T
) : boolean

Parameters

  • item
    Type: T
    The element to locate in the set.

Return Value

Type: System.Boolean
true if the element is in the set; otherwise, false.