FormMappingOptionsMetadata 构造函数

定义

支持在最小 API 中配置表单映射的行为。

public FormMappingOptionsMetadata (int? maxCollectionSize = default, int? maxRecursionDepth = default, int? maxKeySize = default);
new Microsoft.AspNetCore.Http.Metadata.FormMappingOptionsMetadata : Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.AspNetCore.Http.Metadata.FormMappingOptionsMetadata
Public Sub New (Optional maxCollectionSize As Nullable(Of Integer) = Nothing, Optional maxRecursionDepth As Nullable(Of Integer) = Nothing, Optional maxKeySize As Nullable(Of Integer) = Nothing)

参数

maxCollectionSize
Nullable<Int32>
maxRecursionDepth
Nullable<Int32>
maxKeySize
Nullable<Int32>

适用于