AvailabilityExtensionsAsOneItemArrayT Method |
Returns an array containing one item. If the item is null the returned array is empty.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static IEnumerable<T> AsOneItemArray<T>(
this T item
)
<ExtensionAttribute>
Public Shared Function AsOneItemArray(Of T) (
item As T
) As IEnumerable(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<T>^ AsOneItemArray(
T item
)
[<ExtensionAttribute>]
static member AsOneItemArray :
item : 'T -> IEnumerable<'T>
Parameters
- item
- Type: T
The item.
Type Parameters
- T
Return Value
Type:
IEnumerableTUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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