CSEntryChangeExtensionsToValueChangeAddT Method |
Converts an enumeration of values to a list of ValueChanges with the modification type set to 'add'
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static IList<ValueChange> ToValueChangeAdd<T>(
this IEnumerable<T> list
)
<ExtensionAttribute>
Public Shared Function ToValueChangeAdd(Of T) (
list As IEnumerable(Of T)
) As IList(Of ValueChange)
public:
[ExtensionAttribute]
generic<typename T>
static IList<ValueChange^>^ ToValueChangeAdd(
IEnumerable<T>^ list
)
Parameters
- list
- Type: System.Collections.GenericIEnumerableT
The list of values to convert to ValueChanges
Type Parameters
- T
- The type of the data in the list
Return Value
Type:
IListValueChangeA list of ValueChange objects with their modification types set to 'add'
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. 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