IEnumerableExtensionSetAltIDTSource Method
Namespace: FolkerKinzel.VCards.ExtensionsAssembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
public static void SetAltID<TSource>(
this IEnumerable<TSource>? values,
string? altID
)
where TSource : VCardProperty, IEnumerable<TSource>
<ExtensionAttribute>
Public Shared Sub SetAltID(Of TSource As {VCardProperty, IEnumerable(Of TSource)}) (
values As IEnumerable(Of TSource),
altID As String
)
public:
[ExtensionAttribute]
generic<typename TSource>
where TSource : VCardProperty, IEnumerable<TSource>
static void SetAltID(
IEnumerable<TSource>^ values,
String^ altID
)
[<ExtensionAttribute>]
static member SetAltID :
values : IEnumerable<'TSource> *
altID : string -> unit when 'TSource : VCardProperty and IEnumerable<'TSource>
- values IEnumerableTSource
- An IEnumerableT of VCardProperty
objects. The collection may be null, empty, or may contain null
references.
- altID String
- The value to assign.
- TSource
- Generic type parameter that's constrained to be a class that's
derived from VCardProperty.
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).