Partager via


Property.IsRequired Property

Gets a value indicating if the property is requried.

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

Syntax

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

Field Value

Returns truetrue (True in Visual Basic) if the property is required. Otherwise, returns falsefalse (False in Visual Basic).

See Also

Property Class

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