ValidationMessageKeyContext.MemberName 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 name of the member being validated: the property name for property validation, the parameter name for parameter validation, or the type name for type-level validation.
public:
property System::String ^ MemberName { System::String ^ get(); void set(System::String ^ value); };
public string MemberName { get; init; }
member this.MemberName : string with get, set
Public Property MemberName As String