Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PropertyName Property
Collapse the table of content
Expand the table of content

PropertyConstraintException.PropertyName Property

.NET Framework 4.6 and 4.5

Gets the name of the property that violated the constraint.

Namespace:  System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public string PropertyName { get; }

Property Value

Type: System.String
The name of the property that violated the constraint.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft