共用方式為


Contains 方法

Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.

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

語法

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

returnValue = instance.Contains(value)
public bool Contains(
    AdomdRestriction value
)
public:
bool Contains(
    AdomdRestriction^ value
)
member Contains : 
        value:AdomdRestriction -> bool 
public function Contains(
    value : AdomdRestriction
) : boolean

傳回值

型別:System. . :: . .Boolean
A Boolean that contains true if the AdomdRestriction exists in the collection; false otherwise.