Contains 方法 (T)
Determines whether the collection contains the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public MustOverride Function Contains ( _
obj As T _
) As Boolean
用法
Dim instance As SfcCollection
Dim obj As T
Dim returnValue As Boolean
returnValue = instance.Contains(obj)
public abstract bool Contains(
T obj
)
public:
virtual bool Contains(
T obj
) abstract
abstract Contains :
obj:'T -> bool
public abstract function Contains(
obj : T
) : boolean
参数
- obj
类型:T
The object to find.
返回值
类型:System. . :: . .Boolean
true if the collection contains the object; otherwise, false.