required

This attribute sets for the parameter whether it is optional or required.

If the parameter is required, it cannot have a<icode type="attribute">default</icode>attribute or any content.

Value
The value<icode type="attributeValue">yes</icode>is used for required,<icode type="attributeValue">no</icode>for optional.

Attribute Information

Used By

Element sqf:param

Source

<xs:attribute name="required" default="no">
  <xs:annotation>
    <xs:documentation>This attribute sets for the parameter whether it is optional or required.</xs:documentation>
    <xs:documentation>If the parameter is required, it cannot have a
      <icode type="attribute">default</icode>attribute or any content.</xs:documentation>
    <xs:documentation source="Value">The value
      <icode type="attributeValue">yes</icode>is used for required,
      <icode type="attributeValue">no</icode>for optional.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="yes"/>
      <xs:enumeration value="no"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample