共用方式為


ModelStateDictionary.PrefixEnumerable(ModelStateDictionary, String) 建構函式

定義

初始化 ModelStateDictionary.PrefixEnumerable 的新執行個體。

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

參數

prefix
String

前置詞。

適用於