MonobjcMonobjc Documented Class Library
ArrayWithList<(Of <(<'T>)>)> Method (list)
NamespacesMonobjc.FoundationNSArrayArrayWithList<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>))
Create an instance of NSArray from a [!:IList{T}] instance.
Declaration Syntax
C#Visual BasicVisual C++
public NSArray ArrayWithList<T>(
	IList<T> list
)
where T : Id
Public Function ArrayWithList(Of T As Id) ( _
	list As IList(Of T) _
) As NSArray
public:
generic<typename T>
where T : Id
NSArray^ ArrayWithList(
	IList<T>^ list
)
Generic Template Parameters
T
The parametric type
Parameters
list (IList<(Of <(<'T>)>)>)
The list.
Return Value
An NSArray instance.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)