ModelStateDictionary.KeyEnumerator(ModelStateDictionary, String) 构造函数

定义

初始化 ModelStateDictionary.KeyEnumerable 的新实例。

public:
 KeyEnumerator(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ dictionary, System::String ^ prefix);
public KeyEnumerator (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary dictionary, string prefix);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.KeyEnumerator : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary * string -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.KeyEnumerator
Public Sub New (dictionary As ModelStateDictionary, prefix As String)

参数

prefix
String

前缀。

适用于