CodeDomEventBindingService::ValidateMethodName Method (String^)

 

Validates the name of the method.

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

protected:
virtual void ValidateMethodName(
	String^ methodName
) override

Parameters

methodName
Type: System::String^

The method name to validate.

This method calls the IsValidIdentifier method. If the method name is not valid, it throws an ArgumentException.

Return to top
Show: