CodeDomEventBindingService.ValidateMethodName Method

Validates the name of the method.

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

Syntax

‘선언
Protected Overrides Sub ValidateMethodName ( _
    methodName As String _
)
‘사용 방법
Dim methodName As String

Me.ValidateMethodName(methodName)
protected override void ValidateMethodName(
    string methodName
)
protected:
virtual void ValidateMethodName(
    String^ methodName
) override
abstract ValidateMethodName : 
        methodName:string -> unit 
override ValidateMethodName : 
        methodName:string -> unit 
protected override function ValidateMethodName(
    methodName : String
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

CodeDomEventBindingService Class

CodeDomEventBindingService Members

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace