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

Visual Basic
Dim control As Control
Dim propertyName As String
Dim propertyType As String
Dim errorMessage As String

Me.BindTextDataAndValidation(control, propertyName, propertyType, errorMessage)

Syntax

Visual Basic
Protected Sub BindTextDataAndValidation ( _
		control As Control, _
		propertyName As String, _
		propertyType As String, _
		errorMessage As String _
)
C#
protected void BindTextDataAndValidation (
		Control control,
		string propertyName,
		string propertyType,
		string errorMessage
)
C++
protected:
void BindTextDataAndValidation (
		Control^ control, 
		String^ propertyName, 
		String^ propertyType, 
		String^ errorMessage
)
J#
protected void BindTextDataAndValidation (
		Control control, 
		String propertyName, 
		String propertyType, 
		String errorMessage
)
JScript
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