Share via


VCLanguageManager.ValidateIdentifier(String) Method

Definition

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

Applies to