共用方式為


Contains 方法

Determines whether a property is in the AdomdPropertyCollection.

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

語法

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

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

傳回值

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