Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MapiPropertyKey<T>

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Describes a standard or named MAPI property with a managed value type.

Inheritance

Derived Types

Usage

Explore 417 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 399

Accepted by parameters 18

Type Parameters

T
Managed value type returned by the property bag.

Constructors

MapiPropertyKey 3 overloads
public MapiPropertyKey<T>(string canonicalName, ushort propertyId, MapiPropertyType preferredType, params MapiPropertyType[] compatibleTypes) #

Creates a standard-property key.

Parameters

canonicalName string required
propertyId ushort required
preferredType OfficeIMO.Email.MapiPropertyType required
compatibleTypes OfficeIMO.Email.MapiPropertyType[] required
public MapiPropertyKey<T>(string canonicalName, Guid propertySet, uint localId, MapiPropertyType preferredType, params MapiPropertyType[] compatibleTypes) #

Creates a numeric named-property key.

Parameters

canonicalName string required
propertySet System.Guid required
localId uint required
preferredType OfficeIMO.Email.MapiPropertyType required
compatibleTypes OfficeIMO.Email.MapiPropertyType[] required
public MapiPropertyKey<T>(string canonicalName, Guid propertySet, string name, MapiPropertyType preferredType, params MapiPropertyType[] compatibleTypes) #

Creates a string named-property key.

Parameters

canonicalName string required
propertySet System.Guid required
name string required
preferredType OfficeIMO.Email.MapiPropertyType required
compatibleTypes OfficeIMO.Email.MapiPropertyType[] required

Properties

public override Type ValueType { get; } #

Managed value type exposed by a typed key.