Export (0) Print
Expand All

ValidationResult.MemberNames Property

Gets the collection of member names associated with the validation result.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public IEnumerable<string> MemberNames { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<String>
The collection of member names associated with the validation result.

The MemberNames collection will be empty if the member names cannot be retrieved, but the collection will never contain null.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft