_ConstructorInfo.ToString _ConstructorInfo.ToString _ConstructorInfo.ToString _ConstructorInfo.ToString Method

定义

为 COM 对象提供对 ToString() 方法的版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

public:
 System::String ^ ToString();
public string ToString ();
abstract member ToString : unit -> string
Public Function ToString () As String

返回

表示当前 Object 的字符串。A string that represents the current Object.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

适用于