VCLanguageManager.ValidateIdentifier Method (String)

 

Determines if the specified name is a valid C++ identifier.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

bool ValidateIdentifier(
	string bstrIdentifier
)

Parameters

bstrIdentifier
Type: System.String

Required. The identifier to be validated.

Return Value

Type: System.Boolean

true if the specified name is a valid C++ identifier; otherwise, false.

Return to top
Show: