次の方法で共有


SingleElementToEnumerableConverter<T>.Convert Method (T, 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 ( _
    obj As T, _
    parameter As Object, _
    culture As CultureInfo _
) As IEnumerable(Of T)
'使用
Dim obj As T
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As IEnumerable(Of T)

returnValue = Me.Convert(obj, parameter, _
    culture)
protected override IEnumerable<T> Convert(
    T obj,
    Object parameter,
    CultureInfo culture
)
protected:
virtual IEnumerable<T>^ Convert(
    T obj, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        obj:'T * 
        parameter:Object * 
        culture:CultureInfo -> IEnumerable<'T> 
override Convert : 
        obj:'T * 
        parameter:Object * 
        culture:CultureInfo -> IEnumerable<'T> 
protected override function Convert(
    obj : T, 
    parameter : Object, 
    culture : CultureInfo
) : IEnumerable<T>

Parameters

  • obj
    Type: T

Return Value

Type: System.Collections.Generic.IEnumerable<T>

.NET Framework Security

See Also

Reference

SingleElementToEnumerableConverter<T> Class

SingleElementToEnumerableConverter<T> Members

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace