This topic has not yet been rated - Rate this topic

VCCodeModel.IsValidID Method

Returns whether a specified name is a valid programmatic identifier for the current language.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
bool IsValidID(
	string Name
)

Parameters

Name
Type: System.String

Required. The name of the identifier to check.

Return Value

Type: System.Boolean
true when the identifier is valid; false when it is not, such as if it is a keyword.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.