Partager via


ElementProperty.IsRequired Property

Returns truetrue (True in Visual Basic) if the property is required.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsRequired As Boolean
public override bool IsRequired { get; }
public:
virtual property bool IsRequired {
    bool get () override;
}
public override function get IsRequired () : boolean

See Also

ElementProperty Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace