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.DateTime- A 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.