MetadataWorkspace.GetType MetadataWorkspace.GetType MetadataWorkspace.GetType Method

Definition

Returns the type metadata that is described via an EdmType object by using the specified type name, the namespace name, and the data model.

Overloads

GetType(String, String, DataSpace) GetType(String, String, DataSpace) GetType(String, String, DataSpace)

Returns an EdmType object by using the specified type name, namespace name, and data model.

GetType(String, String, Boolean, DataSpace) GetType(String, String, Boolean, DataSpace) GetType(String, String, Boolean, DataSpace)

Returns an EdmType object by using the specified type name, namespace name, and data model.

GetType(String, String, DataSpace) GetType(String, String, DataSpace) GetType(String, String, DataSpace)

Returns an EdmType object by using the specified type name, namespace name, and data model.

public:
 System::Data::Metadata::Edm::EdmType ^ GetType(System::String ^ name, System::String ^ namespaceName, System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Data.Metadata.Edm.EdmType GetType (string name, string namespaceName, System.Data.Metadata.Edm.DataSpace dataSpace);
override this.GetType : string * string * System.Data.Metadata.Edm.DataSpace -> System.Data.Metadata.Edm.EdmType

Parameters

name
String String String

The name of the type.

namespaceName
String String String

The namespace of the type.

dataSpace
DataSpace DataSpace DataSpace

The conceptual model on which the type is searched.

Returns

An EdmType object that represents the type that matches the given type name and the namespace name in the specified data model. If there is no matched type, this method returns null.

GetType(String, String, Boolean, DataSpace) GetType(String, String, Boolean, DataSpace) GetType(String, String, Boolean, DataSpace)

Returns an EdmType object by using the specified type name, namespace name, and data model.

public:
 System::Data::Metadata::Edm::EdmType ^ GetType(System::String ^ name, System::String ^ namespaceName, bool ignoreCase, System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Data.Metadata.Edm.EdmType GetType (string name, string namespaceName, bool ignoreCase, System.Data.Metadata.Edm.DataSpace dataSpace);
override this.GetType : string * string * bool * System.Data.Metadata.Edm.DataSpace -> System.Data.Metadata.Edm.EdmType

Parameters

name
String String String

The name of the type.

namespaceName
String String String

The namespace of the type.

ignoreCase
Boolean Boolean Boolean

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

dataSpace
DataSpace DataSpace DataSpace

The conceptual model on which the type is searched.

Returns

Applies to