共用方式為


Contains 方法 (String)

Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection.

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

語法

'宣告
Public Function Contains ( _
    value As String _
) As Boolean
'用途
Dim instance As AdomdParameterCollection
Dim value As String
Dim returnValue As Boolean

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

參數

傳回值

型別:System. . :: . .Boolean
An instance of a Boolean object that contains true if the AdomdParameter object exists in the collection, false otherwise.

實作

IDataParameterCollection. . :: . .Contains(String)