共用方式為


SingleElementToEnumerableConverter<T> Class

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

Syntax

'宣告
Public Class SingleElementToEnumerableConverter(Of T) _
    Inherits ValueConverter(Of T, IEnumerable(Of T))
'用途
Dim instance As SingleElementToEnumerableConverter(Of T)
public class SingleElementToEnumerableConverter<T> : ValueConverter<T, IEnumerable<T>>
generic<typename T>
public ref class SingleElementToEnumerableConverter : public ValueConverter<T, IEnumerable<T>^>
type SingleElementToEnumerableConverter<'T> =  
    class
        inherit ValueConverter<'T, IEnumerable<'T>>
    end
JScript does not support generic types or methods.

Type Parameters

  • T

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.ValueConverter<T, IEnumerable<T>>
    Microsoft.VisualStudio.PlatformUI.SingleElementToEnumerableConverter<T>
      Microsoft.VisualStudio.PlatformUI.DataSourceToEnumerableDataSourceConverter

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

SingleElementToEnumerableConverter<T> Members

Microsoft.VisualStudio.PlatformUI Namespace