EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Timestamps in .NET

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 03/29/2007 06:36:18
by Santiago Castaño (Standard support level)
Joined: 04/16/2006
Posts: 155


I've got this code in C#:
string signdatelocal = v.get_Timestamps(j).Time.ToLocalTime().ToString();

where v is a TElMessageVerifier.

The compiler keeps telling this error:
error CS1545: El lenguaje no admite la propiedad, el indizador o el evento 'Time'; intente llamar directamente a los métodos de descriptor de acceso 'SBTSPCommon.TElTSPInfo.get_Time()' o 'SBTSPCommon.TElTSPInfo.set_Time(System.DateTime)'
(Time property isn't recognized by the compiler?)

What I'm doing wrong? The implementation of the Time property seems fine to me.

Posted: 03/29/2007 07:12:01
by Eugene Mayevski (Team)

It can be that C# compiler wants you to call get_Time(). There was such problem with Time property before and I don't remember whether we managed to solve it. It's actually .NET specifics, not our bug or something we can control.

Sincerely yours
Eugene Mayevski
Posted: 03/29/2007 07:41:34
by Santiago Castaño (Standard support level)
Joined: 04/16/2006
Posts: 155

Yes, that was that :), many thanks!



Topic viewed 1816 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!