GetType Method (String, String, Boolean)
Collapse the table of content
Expand the table of content

ItemCollection.GetType Method (String, String, Boolean)

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

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

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


Type: System.String

The name of the type.

Type: System.String

The namespace of the type.

Type: System.Boolean

true to perform the case-insensitive search; otherwise, false.

Return Value

Type: System.Data.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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

© 2015 Microsoft