ExtensionMethods.FindType Method

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

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindType ( _
    model As IEdmModel, _
    qualifiedName As String _
) As IEdmSchemaType
'Usage
Dim model As IEdmModel 
Dim qualifiedName As String 
Dim returnValue As IEdmSchemaType 

returnValue = model.FindType(qualifiedName)
public static IEdmSchemaType FindType(
    this IEdmModel model,
    string qualifiedName
)
[ExtensionAttribute]
public:
static IEdmSchemaType^ FindType(
    IEdmModel^ model, 
    String^ qualifiedName
)
static member FindType : 
        model:IEdmModel * 
        qualifiedName:string -> IEdmSchemaType
public static function FindType(
    model : IEdmModel, 
    qualifiedName : String
) : IEdmSchemaType

Parameters

  • qualifiedName
    Type: System.String
    The qualified name of the type being found.

Return Value

Type: Microsoft.Data.Edm.IEdmSchemaType
The requested type, or null if no such type exists.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace