Share via


InteractionPatternProvider.GetPatterns<TPattern> Method

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

Syntax

'Declaration
Public Shared Function GetPatterns(Of TPattern As Class) ( _
    sourceItems As IEnumerable _
) As IEnumerable(Of TPattern)
public static IEnumerable<TPattern> GetPatterns<TPattern>(
    IEnumerable sourceItems
)
where TPattern : class
public:
generic<typename TPattern>
where TPattern : ref class 
static IEnumerable<TPattern>^ GetPatterns(
    IEnumerable^ sourceItems
)
static member GetPatterns : 
        sourceItems:IEnumerable -> IEnumerable<'TPattern>  when 'TPattern : not struct
JScript does not support generic types or methods.

Type Parameters

  • TPattern

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

InteractionPatternProvider Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace