Component.ToString Método
Definición
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Devoluciones
Una String que contiene el nombre de Component, si existe, o null
si Component no tiene nombre.A String containing the name of the Component, if any, or null
if the Component is unnamed.
Comentarios
ComponentPuede tener o no un nombre.A Component may or may not have a name. Si Component se le asigna un nombre, el nombre es único entre otros Component objetos dentro de su IContainer .If a Component is given a name, the name is unique among other Component objects within its IContainer.
ISiteAlmacena el nombre de Component .The ISite stores the name of the Component. Un Component solo puede tener un ISite si se ha agregado a un IContainer y IContainer le asigna un ISite .A Component can only have an ISite if it has been added to an IContainer and the IContainer assigns an ISite to it.