# OutlookUserPropertyDefinitionState

Parse state of an item's PidLidPropertyDefinitionStream value.

Enum 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Parse state of an item's PidLidPropertyDefinitionStream value.

## Inheritance

- Enum
- OutlookUserPropertyDefinitionState

## Usage

Explore 6 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 6

- Property [OutlookUserPropertyCollection.DefinitionState](/api/email/officeimo-email-outlookuserpropertycollection/#property-definitionstate)
- Field [OutlookUserPropertyDefinitionState.Corrupt](/api/email/officeimo-email-outlookuserpropertydefinitionstate/#field-corrupt)
- Field [OutlookUserPropertyDefinitionState.Missing](/api/email/officeimo-email-outlookuserpropertydefinitionstate/#field-missing)
- Field [OutlookUserPropertyDefinitionState.UnsupportedVersion](/api/email/officeimo-email-outlookuserpropertydefinitionstate/#field-unsupportedversion)
- Field [OutlookUserPropertyDefinitionState.Valid](/api/email/officeimo-email-outlookuserpropertydefinitionstate/#field-valid)
- Property [EmailStoreFolderUserPropertyCatalog.State](/api/email/officeimo-email-store-emailstorefolderuserpropertycatalog/#property-state)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OutlookUserPropertyDefinitionState Missing` [#](#field-missing)

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

The item does not contain a PropertyDefinition stream.

Value: `0`

`public const OutlookUserPropertyDefinitionState Valid` [#](#field-valid)

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

The complete stream was decoded.

Value: `1`

`public const OutlookUserPropertyDefinitionState UnsupportedVersion` [#](#field-unsupportedversion)

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

The stream declares a version newer than the documented V1/V2 formats.

Value: `2`

`public const OutlookUserPropertyDefinitionState Corrupt` [#](#field-corrupt)

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

The stream is truncated or structurally invalid.

Value: `3`

<!-- PowerForge markdown artifact sha256:4F0687E054BBC3472C4EA8F4A0788270E5B206897723B52C16D452EAAFD3CF8C -->
