# MapiKnownProperties

Typed vocabulary for well-known tagged, numeric named, and string named MAPI properties supported by OfficeIMO.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[MapiKnownProperties.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L20)

**Modifiers**

static

Typed vocabulary for well-known tagged, numeric named, and string named MAPI properties supported by OfficeIMO.

## Inheritance

- object
- MapiKnownProperties

Filter members 

Show inherited

## Methods

Find 6 overloads

`public static MapiPropertyKey? Find(string canonicalName)` [#](#method-find-string)

[MapiKnownProperties.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L20)

Finds a published key by canonical name.

Parameters

**canonicalName string required**

Returns

`MapiPropertyKey?`

`public static MapiPropertyKey? Find(ushort propertyId)` [#](#method-find-uint16)

[MapiKnownProperties.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L27)

Finds a published standard-property key by property identifier.

Parameters

**propertyId ushort required**

Returns

`MapiPropertyKey?`

`public static MapiPropertyKey? Find(ushort propertyId, MapiPropertyType propertyType)` [#](#method-find-uint16-officeimo-email-mapipropertytype)

[MapiKnownProperties.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L33)

Finds a published standard-property key by property identifier and wire type.

Parameters

**propertyId ushort required**

**propertyType OfficeIMO.Email.MapiPropertyType required**

Returns

`MapiPropertyKey?`

`public static MapiPropertyKey? Find(MapiProperty property)` [#](#method-find-officeimo-email-mapiproperty)

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

Finds a published key matching a retained MAPI property's identity and wire type.

Parameters

**property OfficeIMO.Email.MapiProperty required**

Returns

`MapiPropertyKey?`

`public static MapiPropertyKey? Find(Guid propertySet, uint localId)` [#](#method-find-guid-uint32)

[MapiKnownProperties.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L44)

Finds a published numeric named-property key.

Parameters

**propertySet System.Guid required**

**localId uint required**

Returns

`MapiPropertyKey?`

`public static MapiPropertyKey? Find(Guid propertySet, string name)` [#](#method-find-guid-string)

[MapiKnownProperties.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L49)

Finds a published string named-property key.

Parameters

**propertySet System.Guid required**

**name string required**

Returns

`MapiPropertyKey?`

## 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 static IReadOnlyList<MapiPropertyKey> All { get; }` [#](#property-all)

[MapiKnownProperties.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mapi/MapiKnownProperties.cs#L16)

All property keys currently published by OfficeIMO.

<!-- PowerForge markdown artifact sha256:94FEFD9CA3EBB21F83CDF9558DDFFFC84C4664D9ED56DB5F605E244CC2779432 -->
