OptionalProperty.IsCollectionDefined Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Nome | Descrição |
|---|---|
| IsCollectionDefined<T>(IEnumerable<T>) | |
| IsCollectionDefined<TKey,TValue>(IDictionary<TKey,TValue>) | |
| IsCollectionDefined<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>) |
IsCollectionDefined<T>(IEnumerable<T>)
public:
generic <typename T>
static bool IsCollectionDefined(System::Collections::Generic::IEnumerable<T> ^ collection);
public static bool IsCollectionDefined<T>(System.Collections.Generic.IEnumerable<T> collection);
static member IsCollectionDefined : seq<'T> -> bool
Public Shared Function IsCollectionDefined(Of T) (collection As IEnumerable(Of T)) As Boolean
Parâmetros de Tipo Genérico
- T
Parâmetros
- collection
- IEnumerable<T>
Devoluções
Aplica-se a
IsCollectionDefined<TKey,TValue>(IDictionary<TKey,TValue>)
public:
generic <typename TKey, typename TValue>
static bool IsCollectionDefined(System::Collections::Generic::IDictionary<TKey, TValue> ^ collection);
public static bool IsCollectionDefined<TKey,TValue>(System.Collections.Generic.IDictionary<TKey,TValue> collection);
static member IsCollectionDefined : System.Collections.Generic.IDictionary<'Key, 'Value> -> bool
Public Shared Function IsCollectionDefined(Of TKey, TValue) (collection As IDictionary(Of TKey, TValue)) As Boolean
Parâmetros de Tipo Genérico
- TKey
- TValue
Parâmetros
- collection
- IDictionary<TKey,TValue>
Devoluções
Aplica-se a
IsCollectionDefined<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>)
public:
generic <typename TKey, typename TValue>
static bool IsCollectionDefined(System::Collections::Generic::IReadOnlyDictionary<TKey, TValue> ^ collection);
public static bool IsCollectionDefined<TKey,TValue>(System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> collection);
static member IsCollectionDefined : System.Collections.Generic.IReadOnlyDictionary<'Key, 'Value> -> bool
Public Shared Function IsCollectionDefined(Of TKey, TValue) (collection As IReadOnlyDictionary(Of TKey, TValue)) As Boolean
Parâmetros de Tipo Genérico
- TKey
- TValue
Parâmetros
- collection
- IReadOnlyDictionary<TKey,TValue>