GenericExtensionsToList Method |
Converts a ValueCollection to a generic list of objects
Namespace: Lithnet.MetadirectoryServicesAssembly: Lithnet.MetadirectoryServices (in Lithnet.MetadirectoryServices.dll) Version: 1.0.6017.24765
Syntax public static IList<Object> ToList(
this ValueCollection values
)
<ExtensionAttribute>
Public Shared Function ToList (
values As ValueCollection
) As IList(Of Object)
public:
[ExtensionAttribute]
static IList<Object^>^ ToList(
ValueCollection^ values
)
Parameters
- values
- Type: ValueCollection
The value collection object
Return Value
Type:
IListObjectA generic list of objects
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ValueCollection. 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