ValidationUtil.ValidateType 方法

定义

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

参数

typeName
String
argumentName
String
modelTypesLocator
IModelTypesLocator
throwWhenNotFound
Boolean

返回

适用于