共用方式為


HoursToTimeSpanConverter Class

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Class HoursToTimeSpanConverter _
    Inherits ValueConverter(Of UInteger, TimeSpan)
'用途
Dim instance As HoursToTimeSpanConverter
[CLSCompliantAttribute(false)]
public class HoursToTimeSpanConverter : ValueConverter<uint, TimeSpan>
[CLSCompliantAttribute(false)]
public ref class HoursToTimeSpanConverter : public ValueConverter<unsigned int, TimeSpan>
[<CLSCompliantAttribute(false)>]
type HoursToTimeSpanConverter =  
    class
        inherit ValueConverter<uint32, TimeSpan>
    end
public class HoursToTimeSpanConverter extends ValueConverter<uint, TimeSpan>

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.ValueConverter<UInt32, TimeSpan>
    Microsoft.VisualStudio.PlatformUI.HoursToTimeSpanConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

HoursToTimeSpanConverter Members

Microsoft.VisualStudio.PlatformUI Namespace