OpenTypeMethods.SubstringOf(Object, Object) 方法

定义

确定一个子字符串是否出现在另一个字符串中。

public:
 static System::Object ^ SubstringOf(System::Object ^ substring, System::Object ^ targetString);
public static object SubstringOf (object substring, object targetString);
static member SubstringOf : obj * obj -> obj
Public Shared Function SubstringOf (substring As Object, targetString As Object) As Object

参数

substring
Object

要查找的子字符串。

targetString
Object

要搜索的字符串。

返回

如果 substring 存在于 targetString 中,则返回 true;否则,返回 false

适用于