CodeGenerator.IsValidIdentifier(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.
Gets a value indicating whether the specified value is a valid identifier.
protected:
abstract bool IsValidIdentifier(System::String ^ value);
protected abstract bool IsValidIdentifier (string value);
abstract member IsValidIdentifier : string -> bool
Protected MustOverride Function IsValidIdentifier (value As String) As Boolean
Parameters
- value
- String
The value to test for conflicts with valid identifiers.
Returns
true
if the value is a valid identifier; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.