booleanFormat

IPropertyDescription::FormatForDisplay가 속성 값의 형식을 문자열로 지정하는 방법을 지정합니다. displayInfo displayType="String">인 경우에만 <적용됩니다. 각 displayInfo 요소에 대해 하나의 booleanFormat 요소만 있어야 합니다.

요소가 여러 개 있는 경우 마지막 요소가 사용됩니다. booleanFormat 요소가 제공되지 않으면 기본 특성 설정이 속성 설명에 적용됩니다.

Syntax

      <!-- booleanFormat -->
      <xs:element name="booleanFormat"  minOccurs="0" maxOccurs="1">
        <xs:complexType>
          <xs:attribute name="formatAs">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="YesNo"/>
                <xs:enumeration value="OnOff"/>
                <xs:enumeration value="TrueFalse"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>

요소 정보

부모 요소 자식 요소
displayInfo 없음

 

특성

attribute 설명
formatAs 공개. 선택 사항입니다. 기본값은 "YesNo"입니다. 다음은 유효한 값입니다.
의미
예/아니요 기본값 값의 형식을 "예" 또는 "아니요"로 지정합니다. 속성 형식이 부울이어야 합니다.
OnOff 값의 형식을 "켜기" 또는 "끄기"로 지정합니다. 속성 형식이 부울이어야 합니다.
TrueFalse 값의 형식을 "True" 또는 "False"로 지정합니다. 속성 형식이 부울이어야 합니다.