Compartir a través de


Contains Método

Specifies if a URN collection contains a URN.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    urn As Urn _
) As Boolean
'Uso
Dim instance As UrnCollection
Dim urn As Urn
Dim returnValue As Boolean

returnValue = instance.Contains(urn)
public bool Contains(
    Urn urn
)
public:
virtual bool Contains(
    Urn^ urn
) sealed
abstract Contains : 
        urn:Urn -> bool 
override Contains : 
        urn:Urn -> bool 
public final function Contains(
    urn : Urn
) : boolean

Valor devuelto

Tipo: System. . :: . .Boolean
Boolean

Implementa

ICollection< (Of < ( <'T> ) > ) >. . :: . .Contains(T)

Ejemplos

Usar colecciones