VCCodeModel.IsValidID(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.
Returns whether a specified name is a valid programmatic identifier for the current language.
public:
bool IsValidID(System::String ^ Name);
public:
bool IsValidID(Platform::String ^ Name);
bool IsValidID(std::wstring const & Name);
[System.Runtime.InteropServices.DispId(16)]
public bool IsValidID (string Name);
[<System.Runtime.InteropServices.DispId(16)>]
abstract member IsValidID : string -> bool
Public Function IsValidID (Name As String) As Boolean
Parameters
- Name
- String
Required. The name of the identifier to check.
Returns
true when the identifier is valid; false when it is not, such as if it is a keyword.
Implements
- Attributes