DisplayNameLocalizationContext.DeclaringType Property

Definition

Gets the type that declares the member being validated. null for top-level parameter validation.

public:
 property Type ^ DeclaringType { Type ^ get(); void set(Type ^ value); };
public Type? DeclaringType { get; init; }
member this.DeclaringType : Type with get, set
Public Property DeclaringType As Type

Property Value

Applies to