C#调用delphi写的DLL,该如何解决

C#调用delphi写的DLL
我用C#调用delphi写的DLL,但是一个方法不知道怎么定义,求大家帮帮忙。

一. delphi中的函数名称
function GetData( pt: Data): LongInt;//读取数据

delphi数据结构如下:
Data = record
        id: LongInt;                           //编码
        Type: LongInt;                           //类型
        Time: LongInt;                  //时间
        Value: LongInt;                     //值
    end;


请问大家,在C#总怎么定义,我是这样定义的,但是好像有问题:
       [DllImport("DELPHI.dll")]
        public static extern void GetData(int[] Datas);
C# DLL DELPHI 非托管

------解决方案--------------------
忘了加上public
struct Data
{
  public int id,type,time,value;
}