共用方式為


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.