Share via


SimpleName Simple Type

Defines the value used to supply a simple name for members in an System Definition Model (SDM) definition. For example, you can use a simple name to name a facet in a setting.

<xs:simpleType name="SimpleName">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

The following pattern is defined by the SimpleName simple type:

[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*

Simple names are made up of alphanumeric characters and limited punctuation. The name must start with a non-numeric character.

Remarks

The following list contains reserved names that cannot be used when creating names for members in an SDM definition.

  • this

  • Guest

  • Host

  • Parent

  • Member

  • Client

  • Server

  • Source

  • Dependent

  • Proxy

  • Delegate

Note that the SimpleName Simple Type conforms to the C# specification for identifiers.