# OutlookUserPropertyDefinition

One definition retained from an Outlook PropertyDefinition stream.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OutlookUserProperty.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L63)

**Modifiers**

sealed

One definition retained from an Outlook PropertyDefinition stream.

## Inheritance

- object
- OutlookUserPropertyDefinition

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Property [OutlookUserProperty.Definition](/api/email/officeimo-email-outlookuserproperty/#property-definition)
- Property [OutlookUserPropertyCollection.Definitions](/api/email/officeimo-email-outlookuserpropertycollection/#property-definitions)
- Property [EmailStoreFolderUserPropertyCatalog.Definitions](/api/email/officeimo-email-store-emailstorefolderuserpropertycatalog/#property-definitions)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[OutlookUserProperty.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L63)

Field name used by the corresponding PS_PUBLIC_STRINGS named property.

`public uint Flags { get; }` [#](#property-flags)

[OutlookUserProperty.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L66)

Raw PropertyDefinition flags.

`public ushort VariantType { get; }` [#](#property-varianttype)

[OutlookUserProperty.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L69)

VARENUM value stored by Outlook.

`public uint DispatchId { get; }` [#](#property-dispatchid)

[OutlookUserProperty.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L72)

Dispatch identifier; custom fields normally use zero.

`public OutlookUserPropertyType FieldType { get; }` [#](#property-fieldtype)

[OutlookUserProperty.cs:75](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L75)

Logical Outlook field type.

`public string Formula { get; }` [#](#property-formula)

[OutlookUserProperty.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L78)

ANSI calculation formula retained from the definition.

`public string ValidationRule { get; }` [#](#property-validationrule)

[OutlookUserProperty.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L81)

ANSI validation rule retained from the definition.

`public string ValidationText { get; }` [#](#property-validationtext)

[OutlookUserProperty.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L84)

ANSI validation failure text retained from the definition.

`public bool IsVersion2 { get; }` [#](#property-isversion2)

[OutlookUserProperty.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L87)

Whether this definition uses the PropDefV2 layout.

`public bool IsCustom { get; }` [#](#property-iscustom)

[OutlookUserProperty.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L90)

Whether the definition represents a user-defined rather than built-in field.

<!-- PowerForge markdown artifact sha256:40D004E5A24D8366D9BCD07D9FC9ECED047D894297283F8EEFF87483580DD238 -->
