BaseProperty.IsRequired Property

Definition

Indicates whether this property is required to have a value set.

public:
 property bool IsRequired { bool get(); void set(bool value); };
public bool IsRequired { get; set; }
public bool IsRequired { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.IsRequired : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IsRequired : bool with get, set
Public Property IsRequired As Boolean

Property Value

true if this property is required to have a value set; otherwise, false.

Attributes

Applies to