CustomTimeZone.ToLocalTime Method
Returns the local time that corresponds to a specified date and time value.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Overrides Function ToLocalTime ( _
time As DateTime _
) As DateTime
public override DateTime ToLocalTime(
DateTime time
)
public:
virtual DateTime ToLocalTime(
DateTime time
) override
abstract ToLocalTime :
time:DateTime -> DateTime
override ToLocalTime :
time:DateTime -> DateTime
public override function ToLocalTime(
time : DateTime
) : DateTime
Parameters
time
Type: System.DateTimeA Coordinated Universal Time (UTC) time.
Return Value
Type: System.DateTime
A DateTime object whose value is the local time that corresponds to time.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.