C# Class Octopus.Client.Model.Forms.Control

An visual component of a Form.
Afficher le fichier Open project: OctopusDeploy/Octo.exe Class Usage Examples

Méthodes publiques

Méthode Description
CoerceValue ( string value ) : object

Convert a string into the native type supported by the control. Only supported if GetNativeValueType returns a non-null type.

GetNativeValueType ( ) : Type

Get the native value type supported by the control. If the value returned is null, the control does not support values.

Method Details

CoerceValue() public méthode

Convert a string into the native type supported by the control. Only supported if GetNativeValueType returns a non-null type.
public CoerceValue ( string value ) : object
value string The value to coerce. Must not be null or whitespace.
Résultat object

GetNativeValueType() public méthode

Get the native value type supported by the control. If the value returned is null, the control does not support values.
public GetNativeValueType ( ) : Type
Résultat System.Type