System.ComponentModel.Component.ToString Method

Returns a string containing the name of the System.ComponentModel.Component, if any. This method should not be overridden.

Syntax

public override string ToString ()

Returns

A string containing the name of the System.ComponentModel.Component, if any, or null if the System.ComponentModel.Component is unnamed.

Remarks

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0