Gets or sets the user data associated with this field.
Declaring type: EventIn
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract object UserData { get; set; }
Property Value
An arbitrary data object.
Collapse/Expand Remarks
The user data is not used by the EAI in any way. It is a simple way to attach arbitrary application-specific data to event-in slots.
Collapse/Expand Example
The following example demonstrates how to attach a data object ("myData") to an event-in slot:
C#
MyClass myData = ...;
Vrml.EAI.Field.EventIn eventIn = ...;
eventIn.UserData = myData;
...
myData = eventIn.UserData;