ModelStateDictionary.FindKeysWithPrefix(String) 方法

定义

获取使用ModelStateDictionary.PrefixEnumerable指定的 prefix循环访问 的ModelStateDictionary此实例的 。

public:
 Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary::PrefixEnumerable FindKeysWithPrefix(System::String ^ prefix);
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.PrefixEnumerable FindKeysWithPrefix (string prefix);
member this.FindKeysWithPrefix : string -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary.PrefixEnumerable
Public Function FindKeysWithPrefix (prefix As String) As ModelStateDictionary.PrefixEnumerable

参数

prefix
String

前缀。

返回

ModelStateDictionary.PrefixEnumerable

适用于