Share via


ExtensionMethods.FindType(IEdmModel, String) Method

Definition

Searches for a type with the given name in this model and all referenced models and returns null if no such type exists.

public static Microsoft.OData.Edm.IEdmSchemaType FindType (this Microsoft.OData.Edm.IEdmModel model, string qualifiedName);
static member FindType : Microsoft.OData.Edm.IEdmModel * string -> Microsoft.OData.Edm.IEdmSchemaType
<Extension()>
Public Function FindType (model As IEdmModel, qualifiedName As String) As IEdmSchemaType

Parameters

model
IEdmModel

The model to search.

qualifiedName
String

The namespace or alias qualified name of the type being found.

Returns

The requested type, or null if no such type exists.

Applies to