|
TypeSeekerFilterByAttribute Method |
Filter by the attribute
Namespace: DrawerBackup.Native.RuntimeAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static IEnumerable<Type> FilterByAttribute(
this IEnumerable<Type> source,
Type attribute
)
<ExtensionAttribute>
Public Shared Function FilterByAttribute (
source As IEnumerable(Of Type),
attribute As Type
) As IEnumerable(Of Type)
public:
[ExtensionAttribute]
static IEnumerable<Type^>^ FilterByAttribute(
IEnumerable<Type^>^ source,
Type^ attribute
)
[<ExtensionAttribute>]
static member FilterByAttribute :
source : IEnumerable<Type> *
attribute : Type -> IEnumerable<Type>
Parameters
- source
- Type: System.Collections.GenericIEnumerableType
- attribute
- Type: SystemType
Return Value
Type:
IEnumerableTypeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also