ValidationUtil.ValidateType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Microsoft.VisualStudio.Web.CodeGeneration.ModelType ValidateType (string typeName, string argumentName, Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator modelTypesLocator, bool throwWhenNotFound = true);
static member ValidateType : string * string * Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator * bool -> Microsoft.VisualStudio.Web.CodeGeneration.ModelType
Public Shared Function ValidateType (typeName As String, argumentName As String, modelTypesLocator As IModelTypesLocator, Optional throwWhenNotFound As Boolean = true) As ModelType
Parameters
- typeName
- String
- argumentName
- String
- modelTypesLocator
- IModelTypesLocator
- throwWhenNotFound
- Boolean