DatabasePropertyPageControlData Constructor (Int32, String, Control, ., ., )
Initializes a new instance of the DatabasePropertyPageControlData class.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.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 _
)
public DatabasePropertyPageControlData(
int id,
string name,
Control formControl,
SetDelegate setter,
GetDelegate getter,
ControlDataFlags controlDataOptions
)
public:
DatabasePropertyPageControlData(
int id,
String^ name,
Control^ formControl,
SetDelegate^ setter,
GetDelegate^ getter,
ControlDataFlags controlDataOptions
)
new :
id:int *
name:string *
formControl:Control *
setter:SetDelegate *
getter:GetDelegate *
controlDataOptions:ControlDataFlags -> DatabasePropertyPageControlData
public function DatabasePropertyPageControlData(
id : int,
name : String,
formControl : Control,
setter : SetDelegate,
getter : GetDelegate,
controlDataOptions : ControlDataFlags
)
Parameters
- id
Type: System.Int32
The unique identifier (on this page) for this property.
- name
Type: System.String
The name of the property.
- formControl
Type: System.Windows.Forms.Control
The control that represents this property on the property page.
- 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
Determines whether the property is saved to the user file or to the project file.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatabasePropertyPageControlData Class
DatabasePropertyPageControlData Overload
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace