IDefineEvent.AddEvent(String, Int32) 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.
Used by an active script host to define an event.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Object ^ AddEvent(System::String ^ code, int startLine);
public object AddEvent (string code, int startLine);
abstract member AddEvent : string * int -> obj
Public Function AddEvent (code As String, startLine As Integer) As Object
Parameters
- code
- String
The code that contains the event.
- startLine
- Int32
The line number where the code starts.
Returns
The event, if it was successfully added.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.