次の方法で共有


PropertyName simpleType (apps for Office 1.1)

Defines property names that can be used with the ItemHasRegularExpressionMatch rule.

Introduced in

apps for Office Manifest Schema Reference v1.0

Type information

Base type

xs:string

Namespace

https://schemas.microsoft.com/office/appforoffice/1.1

Schema file

OfficeAppManifestv1.1.xsd

Definition

<xs:simpleType name="PropertyName">
    <xs:restriction base="xs:string">
        <xs:enumeration value="Subject" />
        <xs:enumeration value="BodyAsPlaintext" />
        <xs:enumeration value="BodyAsHTML" />
        <xs:enumeration value="SenderSMTPAddress" />
    </xs:restriction>
</xs:simpleType>

Enumeration values

Value

Description

Subject

Evaluates the regular expression against the item subject.

BodyAsPlaintext

Evaluates the regular expression against the item body in plain text.

BodyAsHTML

Evaluates the regular expression against the item body if the body is available in HTML.

SenderSMTPAddress

Evaluates the regular expression against the SMTP address of the item sender.

注釈

If you specify BodyAsHTML, the Outlook rich client applies the regular expression only if the item body is HTML, and otherwise the Outlook rich client returns no matches for that regular expression. If you specify BodyAsPlaintext, the Outlook rich client always applies the regular expression on the item body.