Skip to content

M_CommandLine_Infrastructure_EnumerableExtensions_ToUntypedArray

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

EnumerableExtensions.ToUntypedArray Method

Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static Object ToUntypedArray(
	this IEnumerable<Object> value,
	Type type
)

VB

<ExtensionAttribute>
Public Shared Function ToUntypedArray ( 
	value As IEnumerable(Of Object),
	type As Type
) As Object

C++

public:
[ExtensionAttribute]
static Object^ ToUntypedArray(
	IEnumerable<Object^>^ value, 
	Type^ type
)

F#

[<ExtensionAttribute>]
static member ToUntypedArray : 
        value : IEnumerable<Object> * 
        type : Type -> Object 

Parameters

 

value
Type: System.Collections.Generic.IEnumerable(Object)
type
Type: System.Type

Return Value

Type: Object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(Object). 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

Reference

EnumerableExtensions Class
CommandLine.Infrastructure Namespace

Clone this wiki locally