DataAnnotationValidateOptions<TOptions>(String) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av DataAnnotationValidateOptions<TOptions> .
public:
DataAnnotationValidateOptions(System::String ^ name);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")]
public DataAnnotationValidateOptions(string? name);
public DataAnnotationValidateOptions(string? name);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The implementation of Validate method on this type will walk through all properties of the passed in options object, and its type cannot be statically analyzed so its members may be trimmed.")>]
new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>
new Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)> : string -> Microsoft.Extensions.Options.DataAnnotationValidateOptions<'Options (requires 'Options : null)>
Public Sub New (name As String)
Parametrar
- name
- String
Namnet på alternativet.
- Attribut