# OutlookUserProperty

A user-defined Outlook field joined with its PS_PUBLIC_STRINGS value.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

A user-defined Outlook field joined with its PS_PUBLIC_STRINGS value.

## Inheritance

- object
- OutlookUserProperty

## Usage

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

- Method [OutlookUserPropertyCollection.Find](/api/email/officeimo-email-outlookuserpropertycollection/#method-find-string)
- Method [OutlookUserPropertyCollection.GetEnumerator](/api/email/officeimo-email-outlookuserpropertycollection/#method-getenumerator)
- Method [OutlookUserPropertyCollection.Set](/api/email/officeimo-email-outlookuserpropertycollection/#method-set-string-object)
- Method [OutlookUserPropertyCollection.SetDuration](/api/email/officeimo-email-outlookuserpropertycollection/#method-setduration-string-timespan-boolean)
- Method [OutlookUserPropertyCollection.SetKeywords](/api/email/officeimo-email-outlookuserpropertycollection/#method-setkeywords-string-collections-generic-ienumerable-system-string-boolean)

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:105](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookUserProperty.cs#L105)

Case-insensitive field name.

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

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

Logical field type, or Unknown for a value without a definition.

`public MapiPropertyType? WireType { get; }` [#](#property-wiretype)

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

MAPI wire type of the value, or null when the definition has no stored value.

`public object? Value { get; }` [#](#property-value)

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

Decoded value as retained by the MAPI property layer.

`public bool HasDefinition { get; }` [#](#property-hasdefinition)

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

True when the item contains a matching PropertyDefinition entry.

`public bool HasValue { get; }` [#](#property-hasvalue)

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

True when the item contains the corresponding named value property.

`public OutlookUserPropertyDefinition? Definition { get; }` [#](#property-definition)

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

Decoded definition, when present and structurally valid.

<!-- PowerForge markdown artifact sha256:A96AD31BBA2477B60667B34979B05B495DE9D3D4DF8EA8B9A44EBC8E2E66C8E5 -->
