共用方式為


MajorObjectCollection 建構函式

Initializes a new instance of the MajorObjectCollection class for the specified parent object.

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

語法

'宣告
Protected Sub New ( _
    parent As IModelComponent _
)
'用途
Dim parent As IModelComponent

Dim instance As New MajorObjectCollection(parent)
protected MajorObjectCollection(
    IModelComponent parent
)
protected:
MajorObjectCollection(
    IModelComponent^ parent
)
new : 
        parent:IModelComponent -> MajorObjectCollection
protected function MajorObjectCollection(
    parent : IModelComponent
)

參數