RegExpObject.ToString 方法

定义

创建此对象的字符串表示形式,其中包含正则表达式模式和标志。Creates a string representation of this object that contains the regular expression pattern and flags.

此 API 支持产品基础结构,不能在代码中直接使用。

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

返回

String

此对象的字符串表示形式。A string representation of this object.

适用于

另请参阅