NamedComponentCollection.Contains 方法 (String)

Determines whether an item with the specific key is in the NamedComponentCollection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Contains ( _
    id As String _
) As Boolean
用法
Dim instance As NamedComponentCollection 
Dim id As String 
Dim returnValue As Boolean 

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

参数

返回值

类型:System.Boolean
true if the id found in the NamedComponentCollection; otherwise, false.

实现

INamedComponentCollection.Contains(String)

请参阅

参考

NamedComponentCollection 类

Contains 重载

Microsoft.AnalysisServices 命名空间