Returns the current value of a MFString event-out slot.
C# |
---|
public abstract void GetValue (
string[] value
) |
The following example gets the lines from the "string" field of a
Text node and prints them to the console:
C# |
---|
Vrml.EAI.Node text = ...;
Vrml.EAI.Field.EventOutMFString string_changed = (Vrml.EAI.Field.EventOutMFString)text.GetEventOut("string_changed");
int size = string_changed.Size;
string[] s = new string[size];
string_changed.GetValue(s);
for (int i = 0; i < size; ++i)
System.Console.WriteLine(s[i]);
|