CanAdd 메서드

이 API는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

이 멤버는 ModelComponentCollection. . :: . .CanAdd(ModelComponent, String%)을(를) 재정의합니다.

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

구문

‘선언
Public Overrides Function CanAdd ( _
    item As ModelComponent, _
    <OutAttribute> ByRef error As String _
) As Boolean
‘사용 방법
Dim instance As NamedComponentCollection
Dim item As ModelComponent
Dim error As String
Dim returnValue As Boolean

returnValue = instance.CanAdd(item, error)
public override bool CanAdd(
    ModelComponent item,
    out string error
)
public:
virtual bool CanAdd(
    ModelComponent^ item, 
    [OutAttribute] String^% error
) override
abstract CanAdd : 
        item:ModelComponent * 
        error:string byref -> bool 
override CanAdd : 
        item:ModelComponent * 
        error:string byref -> bool 
public override function CanAdd(
    item : ModelComponent, 
    error : String
) : boolean

매개 변수

반환 값

형식: System. . :: . .Boolean