ItemCollection.GetType Method
Search for a type metadata in the given space.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetType() | (Inherited from Object.) |
![]() | GetType(String, String) | Returns an EdmType object by using the specified type name and the namespace name in this item collection. |
![]() | GetType(String, String, Boolean) | Returns an EdmType object by using the specified type name and the namespace name from this item collection. |
ItemCollection.GetType Method (String, String)
Returns an EdmType object by using the specified type name and the namespace name in this item collection.
Parameters
- name
-
Type:
System.String
The name of the type.
- namespaceName
-
Type:
System.String
The namespace of the type.
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.EdmTypeAn EdmType object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null.
ItemCollection.GetType Method (String, String, Boolean)
Returns an EdmType object by using the specified type name and the namespace name from this item collection.
Parameters
- name
-
Type:
System.String
The name of the type.
- namespaceName
-
Type:
System.String
The namespace of the type.
- ignoreCase
-
Type:
System.Boolean
true to perform the case-insensitive search; otherwise, false.
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.EdmTypeAn EdmType object that represents the type that matches the specified type name and the namespace name in this item collection. If there is no matched type, this method returns null.