APRlib

SupportClass.CollectionsManager.SingletonList Method 

Creates and returns a read-only System.Collections.IList.

public static IList SingletonList(
   object Element
);

Parameters

Element
Element with which System.Collections.IList will be created.

Return Value

Return a read-only System.Collections.IList, containing only the specified object.

See Also

SupportClass.CollectionsManager Class | (global) Namespace