Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the Coordinated Universal Time (UTC) that corresponds to a specified time.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Overrides Function ToUniversalTime ( _
time As DateTime _
) As DateTime
public override DateTime ToUniversalTime(
DateTime time
)
public:
virtual DateTime ToUniversalTime(
DateTime time
) override
abstract ToUniversalTime :
time:DateTime -> DateTime
override ToUniversalTime :
time:DateTime -> DateTime
public override function ToUniversalTime(
time : DateTime
) : DateTime
Parameters
time
Type: System.DateTimeA date and time.
Return Value
Type: System.DateTime
A DateTime object whose value is the Coordinated Universal Time (UTC) 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.