Contains 方法 (String)

Determines whether an item with the specified key is in the ModelComponentCollection.

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

语法

声明
Protected Function Contains ( _
    key As String _
) As Boolean
用法
Dim key As String
Dim returnValue As Boolean

returnValue = Me.Contains(key)
protected bool Contains(
    string key
)
protected:
bool Contains(
    String^ key
)
member Contains : 
        key:string -> bool 
protected function Contains(
    key : String
) : boolean

参数

返回值

类型:System. . :: . .Boolean
true if key found in the ModelComponentCollection; otherwise, false.