共用方式為


Contains 方法 (Perspective)

Indicates whether the collection contains a specified Perspective.

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

語法

'宣告
Public Function Contains ( _
    item As Perspective _
) As Boolean
'用途
Dim instance As PerspectiveCollection
Dim item As Perspective
Dim returnValue As Boolean

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

參數

傳回值

型別:System. . :: . .Boolean
true if the Perspective exists in the collection; otherwise, false.