BaseValidator.GetControlValidationValue(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value associated with the specified input control.
protected:
System::String ^ GetControlValidationValue(System::String ^ name);
protected string GetControlValidationValue(string name);
member this.GetControlValidationValue : string -> string
Protected Function GetControlValidationValue (name As String) As String
- name
- String
The name of the input control to get the value from.
The value associated with the specified input control.
Use the GetControlValidationValue method to get the value associated with the specified input control, regardless of the control type. For example, you can use this method to get the value in a TextBox control, as well as the value of the selected item from a ListBox control. If the specified control cannot be found, null
is returned.
Observação
This method is used primarily by control developers.
Produto | Versões |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: