Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Protected Overrides Sub ValidateMethodName ( _
methodName As String _
)
'Usage
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
- methodName
Type: System.String
The method name to validate.
Remarks
This method calls the IsValidIdentifier method. If the method name is not valid, it throws an ArgumentException.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CodeDomEventBindingService Class
CodeDomEventBindingService Members
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace