VCLanguageManager.ValidateIdentifier(String) 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.
Determines if the specified name is a valid C++ identifier.
public:
bool ValidateIdentifier(System::String ^ bstrIdentifier);
public:
bool ValidateIdentifier(Platform::String ^ bstrIdentifier);
bool ValidateIdentifier(std::wstring const & bstrIdentifier);
[System.Runtime.InteropServices.DispId(2)]
public bool ValidateIdentifier (string bstrIdentifier);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member ValidateIdentifier : string -> bool
Public Function ValidateIdentifier (bstrIdentifier As String) As Boolean
Parameters
- bstrIdentifier
- String
Required. The identifier to be validated.
Returns
true if the specified name is a valid C++ identifier; otherwise, false.
- Attributes