src/Shared/EntityFramework/Core/Metadata/Edm/ItemCollection.cs
/// <summary>
/// Returns a strongly typed <see cref="T:System.Data.Entity.Core.Metadata.Edm.GlobalItem" /> object by using the specified identity with either case-sensitive or case-insensitive search.
/// </summary>
/// <returns>The item that is specified by the identity.</returns>
/// <param name="identity">The identity of the item.</param>
/// <param name="ignoreCase">true to perform the case-insensitive search; otherwise, false.</param>
/// <typeparam name="T">The type returned by the method.</typeparam>
Returns a strongly typed  object by using the specified identity with either case-sensitive or case-insensitive search.
Returns a strongly typed object by using the specified identity with either case - sensitive or case - insensitive search .
public T GetItem<T>(string identity, bool ignoreCase) where T : GlobalItem
        {
            T item;
            if (TryGetItem(identity, ignoreCase, out item))
            {
                return item;
            }
            throw new ArgumentException(Strings.ItemInvalidIdentity(identity), "identity");
        }
public T GetItem < T > ( string identity , bool ignoreCase ) where T : GlobalItem { T item ; if ( TryGetItem ( identity , ignoreCase , out item ) ) { return item ; } throw new ArgumentException ( Strings . ItemInvalidIdentity ( identity ) , " " ) ; }
Returns a strongly typed  object by using the specified identity with either case-sensitive or case-insensitive search.
Returns a strongly typed object by using the specified identity with either case - sensitive or case - insensitive search .
The item that is specified by the identity.
The item that is specified by the identity .
identity
string
The identity of the item.
The identity of the item .
ignoreCase
bool
true to perform the case-insensitive search; otherwise, false.
true to perform the case - insensitive search ; otherwise false .
typeparam
The type returned by the method.
The type returned by the method .