共用方式為


SecondsToTimeSpanConverter 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 SecondsToTimeSpanConverter _
    Inherits ValueConverter(Of UInteger, TimeSpan)
'用途
Dim instance As SecondsToTimeSpanConverter
[CLSCompliantAttribute(false)]
public class SecondsToTimeSpanConverter : ValueConverter<uint, TimeSpan>
[CLSCompliantAttribute(false)]
public ref class SecondsToTimeSpanConverter : public ValueConverter<unsigned int, TimeSpan>
[<CLSCompliantAttribute(false)>]
type SecondsToTimeSpanConverter =  
    class
        inherit ValueConverter<uint32, TimeSpan>
    end
public class SecondsToTimeSpanConverter extends ValueConverter<uint, TimeSpan>

Inheritance Hierarchy

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

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

SecondsToTimeSpanConverter Members

Microsoft.VisualStudio.PlatformUI Namespace