共用方式為


IList.Contains 方法

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Private Function Contains ( _
    value As Object _
) As Boolean Implements IList.Contains
'用途
Dim instance As RestoreFolderCollection
Dim value As Object
Dim returnValue As Boolean

returnValue = CType(instance, IList).Contains(value)
bool IList.Contains(
    Object value
)
private:
virtual bool Contains(
    Object^ value
) sealed = IList::Contains
private abstract Contains : 
        value:Object -> bool 
private override Contains : 
        value:Object -> bool 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

傳回值

型別:System. . :: . .Boolean

實作

IList. . :: . .Contains(Object)