Component.ToString Yöntem
Tanım
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Döndürülenler
Varsa, String varsa veya varsa adını içeren bir Component null
Component .A String containing the name of the Component, if any, or null
if the Component is unnamed.
Açıklamalar
Bir Component adı olabilir veya olmayabilir.A Component may or may not have a name. Bir Component ad verilirse, ad, içindeki diğer nesneler arasında benzersizdir Component IContainer .If a Component is given a name, the name is unique among other Component objects within its IContainer.
, ISite Adını depolar Component .The ISite stores the name of the Component. ComponentYalnızca bir ISite öğesine eklendiyse IContainer ve IContainer ISite kendisine öğesine eklenirse olabilir.A Component can only have an ISite if it has been added to an IContainer and the IContainer assigns an ISite to it.