MarshalByValueComponent.ToString 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
override System::String ^ ToString();
public override string ToString ();
public override string? ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
返回
包含该 String 的名称的 Component(如果有的话)。
如果 Component 未命名,则为 null
。
注解
A Component 可能或可能没有名称。 Component如果给定名称,则名称在其内IContainer的其他Component对象中是唯一的。
Component存储ISite's name。 Component仅当它已添加到某个值IContainer并IContainer向其分配一个时,才能有ISite一个ISite。