SmsPageControl.BindTextDataAndValidation Method (Control, String, String, String)
Binds the inherited Text property of the page control to the specified object property, and enables validation for the page control.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
'Usage
Dim control As Control
Dim propertyName As String
Dim propertyType As String
Dim errorMessage As String
Me.BindTextDataAndValidation(control, propertyName, propertyType, errorMessage)
Syntax
'Declaration
Protected Sub BindTextDataAndValidation ( _
control As Control, _
propertyName As String, _
propertyType As String, _
errorMessage As String _
)
protected void BindTextDataAndValidation (
Control control,
string propertyName,
string propertyType,
string errorMessage
)
protected:
void BindTextDataAndValidation (
Control^ control,
String^ propertyName,
String^ propertyType,
String^ errorMessage
)
protected void BindTextDataAndValidation (
Control control,
String propertyName,
String propertyType,
String errorMessage
)
protected function BindTextDataAndValidation (
control : Control,
propertyName : String,
propertyType : String,
errorMessage : String
)
Parameters
- control
[in] System.Windows.Forms.Control object.
- propertyName
[in] Property name for the form control.
- propertyType
[in] Property type for the form control.
- errorMessage
[in] Validation error message.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also
Reference
SmsPageControl Class
SmsPageControl Members
Microsoft.ConfigurationManagement.AdminConsole Namespace