ArgumentUtility.CheckCollectionForNullOrEmpty<T> Method (ICollection<T>, String)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Shared Sub CheckCollectionForNullOrEmpty(Of T) ( _
    collection As ICollection(Of T), _
    collectionName As String _
)
public static void CheckCollectionForNullOrEmpty<T>(
    ICollection<T> collection,
    string collectionName
)
public:
generic<typename T>
static void CheckCollectionForNullOrEmpty(
    ICollection<T>^ collection, 
    String^ collectionName
)
static member CheckCollectionForNullOrEmpty : 
        collection:ICollection<'T> * 
        collectionName:string -> unit
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

.NET Framework Security

See Also

Reference

ArgumentUtility Class

CheckCollectionForNullOrEmpty Overload

Microsoft.VisualStudio.Services.Common Namespace