VCWizCtlClass::ValidateCLRIdentifier Method (String^, Boolean)

 

Returns whether a name is a valid CLR identifier.

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

public:
virtual bool ValidateCLRIdentifier(
	String^ bstrName,
	bool bReportError = true
)

Parameters

bstrName
Type: System::String^

Name to test.

bReportError
Type: System::Boolean

Set to true to report an error.

Return Value

Type: System::Boolean

True if the name is a valid CLR identifier.

Return to top
Show: