Contains 方法

Specifies if a URN collection contains a URN.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function Contains ( _
    urn As Urn _
) As Boolean
用法
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

参数

  • urn
    类型:Urn
    Urn

返回值

类型:System. . :: . .Boolean
Boolean

实现

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

示例

使用集合