VCWizCtlClass.ValidateCLRIdentifier(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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