CollectionHelperShallowCopyT Method (ListT) |
Returns a copy of the list passed across.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static List<T> ShallowCopy<T>(
List<T> list
)
Public Shared Function ShallowCopy(Of T) (
list As List(Of T)
) As List(Of T)
public:
generic<typename T>
static List<T>^ ShallowCopy(
List<T>^ list
)
static member ShallowCopy :
list : List<'T> -> List<'T>
Parameters
- list
- Type: System.Collections.GenericListT
Type Parameters
- T
Return Value
Type:
ListTSee Also