다음을 통해 공유


Contains 메서드 (String)

Indicates whether the collection contains a MeasureGroupAttribute that has the specified identifier.

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

구문

‘선언
Public Function Contains ( _
    attributeId As String _
) As Boolean
‘사용 방법
Dim instance As MeasureGroupAttributeCollection
Dim attributeId As String
Dim returnValue As Boolean

returnValue = instance.Contains(attributeId)
public bool Contains(
    string attributeId
)
public:
bool Contains(
    String^ attributeId
)
member Contains : 
        attributeId:string -> bool 
public function Contains(
    attributeId : String
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the MeasureGroupAttribute exists in the collection; otherwise, false.