src/Shared/EntityFramework/Core/Metadata/Edm/ItemCollection.cs
/// <summary>
/// Returns an <see cref="T:System.Data.Entity.Core.Metadata.Edm.EdmType" /> object by using the specified type name and the namespace name from this item collection.
/// </summary>
/// <returns>true if there is a type that matches the search criteria; otherwise, false. </returns>
/// <param name="name">The name of the type.</param>
/// <param name="namespaceName">The namespace of the type.</param>
/// <param name="ignoreCase">true to perform the case-insensitive search; otherwise, false.</param>
/// <param name="type">
/// When this method returns, this output parameter contains an
/// <see
///     cref="T:System.Data.Entity.Core.Metadata.Edm.EdmType" />
/// object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null.
/// </param>
Returns an  object by using the specified type name and the namespace name from this item collection.
Returns an object by using the specified type name and the namespace name from this item collection .
public bool TryGetType(string name, string namespaceName, bool ignoreCase, out EdmType type)
        {
            Check.NotNull(name, "name");
            Check.NotNull(namespaceName, "namespaceName");
            GlobalItem item = null;
            TryGetValue(EdmType.CreateEdmTypeIdentity(namespaceName, name), ignoreCase, out item);
            type = item as EdmType;
            return type != null;
        }
public bool TryGetType ( string name , string namespaceName , bool ignoreCase , out EdmType type ) { Check . NotNull ( name , " " ) ; Check . NotNull ( namespaceName , " " ) ; GlobalItem item = null ; TryGetValue ( EdmType . CreateEdmTypeIdentity ( namespaceName , name ) , ignoreCase , out item ) ; type = item as EdmType ; return type != null ; }
Returns an  object by using the specified type name and the namespace name from this item collection.
Returns an object by using the specified type name and the namespace name from this item collection .
true if there is a type that matches the search criteria; otherwise, false.
true if there is a type that matches the search criteria ; otherwise false .
name
string
The name of the type.
The name of the type .
namespaceName
string
The namespace of the type.
The namespace of the type .
ignoreCase
bool
true to perform the case-insensitive search; otherwise, false.
true to perform the case - insensitive search ; otherwise false .
EdmType
out
type
When this method returns, this output parameter contains an

object. If there is no type with the specified name and namespace name in this item collection, this output parameter contains null.
When this method returns this output parameter contains an object . If there is no type with the specified name and namespace name in this item collection this output parameter contains null .