ToolStripItem.ToString 方法

定義

傳回任何包含 Component 名稱的 StringReturns a String containing the name of the Component, if any. 不應覆寫此方法。This method should not be overridden.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

String

任何包含 Component 名稱的 String,如果 Component 未命名,則為 nullA String containing the name of the Component, if any, or null if the Component is unnamed.

適用於

另請參閱