ItemCollection.GetType Method

 

Search for a type metadata in the given space.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetType(String, String)

Returns an EdmType object by using the specified type name and the namespace name in this item collection.

System_CAPS_pubmethodGetType(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.

public EdmType GetType(
	string name,
	string namespaceName
)

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.EdmType

An 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.

public EdmType GetType(
	string name,
	string namespaceName,
	bool ignoreCase
)

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.EdmType

An 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.