Upraviť

Zdieľať cez


EventLogEntry.Data Property

Definition

Gets the binary data associated with the entry.

public:
 property cli::array <System::Byte> ^ Data { cli::array <System::Byte> ^ get(); };
public byte[] Data { get; }
member this.Data : byte[]
Public ReadOnly Property Data As Byte()

Property Value

Byte[]

An array of bytes that holds the binary data associated with the entry.

Remarks

Getting this property creates an array that holds a copy of the entry's event-specific binary data, which the Event Viewer displays in combined hexadecimal and text format. Event-specific data is sometimes used to store information that the application will process independently of the Event Viewer, for example, to make reports from the log file.

Applies to