// :mode=c#: [DllImport("libleaftag.dll")] static extern IntPtr lt_source_get_tags(IntPtr raw); public LtTag[] Tags { get { IntPtr raw_ret = lt_source_get_tags(Handle); GLib.List list = new GLib.List(raw_ret); LtTag[] result = new LtTag [list.Count]; for (int i = 0; i < list.Count; i++) { result [i] = list [i] as LtTag; } return result; } }