次の方法で共有


HoursToTimeSpanConverter.Convert Method (UInt32, Object, CultureInfo)

This member overrides ValueConverter<TSource, TTarget>.Convert(TSource, Object, CultureInfo).

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

Syntax

'宣言
Protected Overrides Function Convert ( _
    hours As UInteger, _
    parameter As Object, _
    culture As CultureInfo _
) As TimeSpan
'使用
Dim hours As UInteger
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As TimeSpan

returnValue = Me.Convert(hours, parameter, _
    culture)
protected override TimeSpan Convert(
    uint hours,
    Object parameter,
    CultureInfo culture
)
protected:
virtual TimeSpan Convert(
    unsigned int hours, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        hours:uint32 * 
        parameter:Object * 
        culture:CultureInfo -> TimeSpan 
override Convert : 
        hours:uint32 * 
        parameter:Object * 
        culture:CultureInfo -> TimeSpan 
protected override function Convert(
    hours : uint, 
    parameter : Object, 
    culture : CultureInfo
) : TimeSpan

Parameters

Return Value

Type: System.TimeSpan

.NET Framework Security

See Also

Reference

HoursToTimeSpanConverter Class

HoursToTimeSpanConverter Members

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace