DisplayNameLocalizationContext.DeclaringType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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