VsaEngine.IsValidIdentifier(String) 方法

定义

检查提供的标识符是否对脚本引擎有效。Checks whether the supplied identifier is valid for the script engine.

public:
 virtual bool IsValidIdentifier(System::String ^ identifier);
public bool IsValidIdentifier (string identifier);
abstract member IsValidIdentifier : string -> bool
override this.IsValidIdentifier : string -> bool
Public Function IsValidIdentifier (identifier As String) As Boolean

参数

identifier
String

作为标识符提供的字符串值。A string value provided as identifier.

返回

Boolean

如果标识符有效,则返回 true;否则,返回 falsetrue if the identifier is valid; otherwise, false.

实现

适用于