XJLinkEventArgs Class
Provides data for events fired from the XJLink class.
Namespace: XJTAG.Integration
Syntax
public class XJLinkEventArgs : EventArgs
Example
This example shows how the XJLinkEventArgs object is used to obtain the serial number of the XJLink that has just been unplugged.
class Program { void InitialiseSystem() { // Subscribe to the PluggedIn event. XJLink.Unplugged += XJLink_Unplugged; } void XJLink_Unplugged(object sender, XJLinkEventArgs e) { // Use the given XJLinkEventArgs object to find the serial number of the XJLink that // has been unplugged. var unpluggedXJLinkSerial = e.XJLinkSerial; /* * Code using obtained serial number. */ } }
Inheritance Hierarchy
- EventArgs
- object
Members
Properties
Name | Description |
---|---|
SerialNumber | Gets the serial number of the associated XJLink. |
Methods
Name | Description |
---|---|
Equals(object) (from object) | |
Finalize (from object) | |
GetHashCode (from object) | |
GetType (from object) | |
MemberwiseClone (from object) | |
ToString (from object) |
XJTAG v4.1.100