IVCWizCtlUI.ValidateCLRIdentifier(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回某个名称是否为有效的 CLR 标识符。
bool ValidateCLRIdentifier(std::wstring const & bstrName, bool bReportError = true);
[System.Runtime.InteropServices.DispId(1610743860)]
public bool ValidateCLRIdentifier (string bstrName, bool bReportError = true);
[<System.Runtime.InteropServices.DispId(1610743860)>]
abstract member ValidateCLRIdentifier : string * bool -> bool
Public Function ValidateCLRIdentifier (bstrName As String, Optional bReportError As Boolean = true) As Boolean
参数
- bstrName
- String
要测试的名称。
- bReportError
- Boolean
设置为 true 将报告错误。
返回
如果名称为有效 CLR 标识符,则为 true。
- 属性