다음을 통해 공유


Contains 메서드

Indicates whether the collection contains a specified Command.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
Public Function Contains ( _
    item As Command _
) As Boolean
‘사용 방법
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Boolean

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

매개 변수

반환 값

형식: System. . :: . .Boolean
true if the Command is contained in the collection; otherwise, false.