VCWizCtlClass.ValidateCLRIdentifier(String, Boolean) Метод

Определение

Возвращает значение, указывающее, является ли имя допустимым идентификатором CLR.

 virtual bool ValidateCLRIdentifier(std::wstring const & bstrName, bool bReportError = true);
[System.Runtime.InteropServices.DispId(1610743860)]
public virtual bool ValidateCLRIdentifier (string bstrName, bool bReportError = true);
[<System.Runtime.InteropServices.DispId(1610743860)>]
abstract member ValidateCLRIdentifier : string * bool -> bool
override this.ValidateCLRIdentifier : string * bool -> bool
Public Overridable Function ValidateCLRIdentifier (bstrName As String, Optional bReportError As Boolean = true) As Boolean

Параметры

bstrName
String

Проверяемое имя.

bReportError
Boolean

Задайте значение true, чтобы метод сообщал об ошибке.

Возвращаемое значение

Boolean

Значение true, если имя является допустимым идентификатором CLR.

Реализации

Атрибуты

Применяется к