IsRequired Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the value indicating if this is a required field.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Property IsRequired As Boolean
'Usage
Dim instance As DisplayProperty
Dim value As Boolean
value = instance.IsRequired
instance.IsRequired = value
public bool IsRequired { get; set; }
public:
property bool IsRequired {
bool get ();
void set (bool value);
}
public function get IsRequired () : boolean
public function set IsRequired (value : boolean)
Property Value
Type: System..::.Boolean
true if this property is a required property; otherwise, false. The default is false.
Remarks
A value that indicates if this is a required or an optional property.
This property can be ignored if the Type property is set to NoUI.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.