Click or drag to resize

DataEventArgs Class

Provides data for the Sent and Received events.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ZylSoft.SerialDataEventArgs

Namespace: ZylSoft.Serial
Assembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax
public class DataEventArgs : EventArgs

The DataEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodDataEventArgs Constructor.
Top
Properties
 NameDescription
Public propertyBuffer Sent or received data. You will get the received data here, when AutoReceive is true. When AutoReceive is false, the property is null and you have to read the data with one of the Read methods.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The Received event occurs when data was received. The Sent event occurs when data was sent. A DataEventArgs specifies the sent or received data.
See Also