API Reference
MapiPropertyKey
Describes the canonical identity and supported wire types of a standard or named MAPI property.
Inheritance
- Object
- MapiPropertyKey
Methods
public Boolean Accepts(MapiPropertyType propertyType) #BooleanReturns whether a wire type is accepted by this key.
Parameters
- propertyType OfficeIMO.Email.MapiPropertyType
public UInt16 GetStandardPropertyId() #UInt16Returns the standard property identifier, or throws when this key identifies a named property.
public Boolean Matches(MapiProperty property) #BooleanReturns whether a property has this key's canonical identity and an accepted wire type.
Parameters
- property OfficeIMO.Email.MapiProperty
public Boolean MatchesIdentity(MapiProperty property) #BooleanReturns whether a property has this key's canonical identity, without checking its wire type.
Parameters
- property OfficeIMO.Email.MapiProperty
public Boolean MatchesIdentity(UInt16 propertyId) #BooleanReturns whether a standard property identifier has this key's canonical identity.
Parameters
- propertyId System.UInt16
public override String ToString() #StringReturns a string that represents the current object.
Returns
A string that represents the current object.
Inherited Methods
Properties
public String CanonicalName { get; } #Microsoft canonical name or a stable application-defined name.
public UInt16? PropertyId { get; } #Standard property identifier, or null for a named property.
public MapiNamedProperty? Name { get; } #Named-property identity, or null for a standard property.
public MapiPropertyType PreferredType { get; } #Preferred wire type used when a new value is written.
public IReadOnlyList<MapiPropertyType> AcceptedTypes { get; } #Wire types accepted when reading the property.
public Boolean IsNamed { get; } #True when this key identifies a named property.
public virtual Type ValueType { get; } #Managed value type exposed by a typed key.