EventBindingService.ValidateMethodName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates that the provided method name is valid for the language or script being used.
protected:
virtual void ValidateMethodName(System::String ^ methodName);
protected virtual void ValidateMethodName (string methodName);
abstract member ValidateMethodName : string -> unit
override this.ValidateMethodName : string -> unit
Protected Overridable Sub ValidateMethodName (methodName As String)
Parameters
- methodName
- String
The method name to validate.
Remarks
The default implementation does nothing. You may override this and throw an exception if the name is invalid for your use.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.