DataControlField.ToString Metodo
Definizione
Restituisce una stringa che rappresenta questo oggetto DataControlField.Returns a string that represents this DataControlField object.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Restituisce
Stringa che rappresenta questo oggetto DataControlField.A string that represents this DataControlField.
Commenti
Questo metodo viene implementato per restituire il valore della HeaderText proprietà, se la proprietà è impostata.This method is implemented to return the value of the HeaderText property, if the property is set. In caso contrario, questo metodo restituisce semplicemente una stringa che rappresenta il tipo del campo di controllo dati (ad esempio, "BoundField").Otherwise, this method simply returns a string that represents the type of the data control field (for example, "BoundField").