Επεξεργασία

Κοινή χρήση μέσω


ItemCollection.GetType Method

Definition

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

Overloads

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.

GetType(String, String)

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

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

Parameters

name
String

The name of the type.

namespaceName
String

The namespace of the type.

Returns

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.

Applies to

GetType(String, String, Boolean)

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

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

Parameters

name
String

The name of the type.

namespaceName
String

The namespace of the type.

ignoreCase
Boolean

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

Returns

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.

Applies to