Open sandboxFocus

Property DefaultMemberRelationship

DefaultMemberRelationship

Gets or sets the default kind of relationship of fields and automatic properties.

Declaration
public RelationshipKind DefaultMemberRelationship { get; set; }
Property Value
Type Description
RelationshipKind
Remarks

The default value of this property is Default, which causes a build-time error to be emitted if members are not annotated with ChildAttribute, ReferenceAttribute or ParentAttribute.