Virtual PhotonicsNamespace: Vts.ExtensionsAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
public static Array PopulateFromEnumerable<T>(
this Array myArray,
IEnumerable<T> enumerable
)
where T : struct, new()
public static Array PopulateFromEnumerable<T>(
this Array myArray,
IEnumerable<T> enumerable
)
where T : struct, new()
<ExtensionAttribute>
Public Shared Function PopulateFromEnumerable(Of T As {Structure, New}) (
myArray As Array,
enumerable As IEnumerable(Of T)
) As Array
<ExtensionAttribute>
Public Shared Function PopulateFromEnumerable(Of T As {Structure, New}) (
myArray As Array,
enumerable As IEnumerable(Of T)
) As Array
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew()
static Array^ PopulateFromEnumerable(
Array^ myArray,
IEnumerable<T>^ enumerable
)
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew()
static Array^ PopulateFromEnumerable(
Array^ myArray,
IEnumerable<T>^ enumerable
)
- T
Return Value
Type:
ArrayUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Array. 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).