DictionaryExtensions.FirstNotNullOrEmpty<TKey> Method (IDictionary<TKey, String>, TKey[])
Applies To: Dynamics CRM 2013
Namespace: Microsoft.Xrm.Client.Collections.Generic
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static string FirstNotNullOrEmpty<TKey>(
this IDictionary<TKey, string> dictionary,
params TKey[] keys
)
public:
generic<typename TKey>
[ExtensionAttribute]
static String^ FirstNotNullOrEmpty(
IDictionary<TKey, String^>^ dictionary,
... array<TKey>^ keys
)
static member FirstNotNullOrEmpty<'TKey> :
dictionary:IDictionary<'TKey, string> *
[<ParamArrayAttribute>] keys:'TKey[] -> string
<ExtensionAttribute>
Public Shared Function FirstNotNullOrEmpty(Of TKey) (
dictionary As IDictionary(Of TKey, String),
ParamArray keys As TKey()
) As String
Parameters
dictionary
Type: System.Collections.Generic.IDictionary<TKey, String>Type: IDictionary<TKey, TValue>. The dictionary.
keys
Type: TKey[]Type: TKeys[]. An array of keys.
Return Value
Type: System.String
Type: String
The entry that is not null or empty.
Type Parameters
- TKey[] The key.
See Also
DictionaryExtensions Class
Microsoft.Xrm.Client.Collections.Generic Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top