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
- sourceItems
Type: System.Collections.IEnumerable
Return Value
Type: System.Collections.Generic.IEnumerable<TPattern>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.