Share via


DictionaryExtensions.FirstNotNullOrEmpty(Of TKey) Method (IDictionary(Of TKey, String), TKey())

 

Applies To: Dynamics CRM 2015

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

  • 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

Return to top

© 2017 Microsoft. All rights reserved. Copyright