IModelTypesLocator.GetType(String) Method

Definition

Returns the types matching a type name. The method returns types for which the full name matches the given typeName exactly. However, if there are none exactly matching, then it returns all the types whose type name (without the namespace name) matches the given type name. This allows the callers to pass in a short type name and get the results. Caller has to decide what to do when there are multiple matches.

public:
 System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^> ^ GetType(System::String ^ typeName);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Web.CodeGeneration.ModelType> GetType (string typeName);
abstract member GetType : string -> seq<Microsoft.VisualStudio.Web.CodeGeneration.ModelType>
Public Function GetType (typeName As String) As IEnumerable(Of ModelType)

Parameters

typeName
String

Returns

IEnumerable<ModelType>

Applies to