コード例 #1
0
        public void AutoOpen()
        {
            ComServer.DllRegisterServer();

            ExcelIntegration.RegisterRtdWrapper(RtdServer.ServerProgId, null,
                                                new ExcelFunctionAttribute
            {
                Name            = "rtdWrapperFast",
                Description     = "Get the real-time data item",
                IsExceptionSafe = true,
                IsThreadSafe    = false
            },
                                                new List <object>
            {
                new ExcelArgumentAttribute
                {
                    Name = "First topic string"
                },
                new ExcelArgumentAttribute
                {
                    Name = "Second topic string"
                },
            });
        }