IEnumerableExtensionRemoveTSource(IEnumerableTSource, TSource) Method
Removes each occurrence of value from values.
Namespace: FolkerKinzel.VCards.ExtensionsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
public static IEnumerable<TSource> Remove<TSource>(
this IEnumerable<TSource>? values,
TSource value
)
where TSource : VCardProperty
<ExtensionAttribute>
Public Shared Function Remove(Of TSource As VCardProperty) (
values As IEnumerable(Of TSource),
value As TSource
) As IEnumerable(Of TSource)
public:
[ExtensionAttribute]
generic<typename TSource>
where TSource : VCardProperty
static IEnumerable<TSource>^ Remove(
IEnumerable<TSource>^ values,
TSource value
)
[<ExtensionAttribute>]
static member Remove :
values : IEnumerable<'TSource> *
value : 'TSource -> IEnumerable<'TSource> when 'TSource : VCardProperty
- values IEnumerableTSource
- The IEnumerableT of VCardProperty
objects to edit. The collection may be null, empty, or may contain null
references.
- value TSource
- The VCardProperty to remove or null.
- TSource
- Generic type parameter that's constrained to be a class that's
derived from VCardProperty.
IEnumerableTSourcevalues without occurrences of
value and
without
null references.
If
values is
null, an empty collection is returned.In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTSource. 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).