Share via


DatabasePropertyPageControlData Constructor (Int32, String, Control, ., ., , Control[])

Initializes a new instance of this object

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
Public Sub New ( _
    id As Integer, _
    name As String, _
    formControl As Control, _
    setter As SetDelegate, _
    getter As GetDelegate, _
    controlDataOptions As ControlDataFlags, _
    assocControls As Control() _
)
'Usage
Dim id As Integer
Dim name As String
Dim formControl As Control
Dim setter As SetDelegate
Dim getter As GetDelegate
Dim controlDataOptions As ControlDataFlags
Dim assocControls As Control()

Dim instance As New DatabasePropertyPageControlData(id, name, _
    formControl, setter, getter, controlDataOptions, _
    assocControls)
public DatabasePropertyPageControlData(
    int id,
    string name,
    Control formControl,
    SetDelegate setter,
    GetDelegate getter,
    ControlDataFlags controlDataOptions,
    Control[] assocControls
)
public:
DatabasePropertyPageControlData(
    int id, 
    String^ name, 
    Control^ formControl, 
    SetDelegate^ setter, 
    GetDelegate^ getter, 
    ControlDataFlags controlDataOptions, 
    array<Control^>^ assocControls
)
new : 
        id:int * 
        name:string * 
        formControl:Control * 
        setter:SetDelegate * 
        getter:GetDelegate * 
        controlDataOptions:ControlDataFlags * 
        assocControls:Control[] -> DatabasePropertyPageControlData
public function DatabasePropertyPageControlData(
    id : int, 
    name : String, 
    formControl : Control, 
    setter : SetDelegate, 
    getter : GetDelegate, 
    controlDataOptions : ControlDataFlags, 
    assocControls : Control[]
)

Parameters

  • setter
    Type: SetDelegate
    Used to override how the property is persisted
  • getter
    Type: GetDelegate
    Used to override how the property is obtained for display
  • controlDataOptions
    Type: ControlDataFlags
    Controls how the property is saved (i.e. to the user file or project file)

See Also

Reference

DatabasePropertyPageControlData Class

DatabasePropertyPageControlData Overload

Microsoft.VisualStudio.Data.Tools.Package.Project Namespace