VCWizCtlClass.ValidateCLRIdentifier(String, Boolean) Method

Definition

Returns whether a name is a valid CLR identifier.

 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

Parameters

bstrName
String

Name to test.

bReportError
Boolean

Set to true to report an error.

Returns

True if the name is a valid CLR identifier.

Implements

Attributes

Applies to