GLib.Object.Data Property
Stores and Accesses arbitrary data on the Object.

Syntax

public Hashtable Data { get; }

Value

a Hashtable

Remarks

This property is obsolete and should not be used unless you explicitly retain a reference to the GLib.Object. Otherwise the Data hashtable will be lost when the Garbage Collector releases your managed object wrapper. There are much better alternatives to this anyway. Consider using a Hashtable on your class that is keyed by GLib.Object or a subclass with an object property for the data you want to store instead. There are many better ways to accompish the role of this property.

Requirements

Namespace: GLib
Assembly: glib-sharp (in glib-sharp.dll)