Condividi tramite


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

'Dichiarazione
Protected Overrides Sub ValidateMethodName ( _
    methodName As String _
)
'Utilizzo
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