MapiPropertyKey
OfficeIMO.Email
Describes the canonical identity and supported wire types of a standard or named MAPI property.
Inheritance
- object
- MapiPropertyKey
Derived Types
Methods
public bool Accepts(MapiPropertyType propertyType) #Returns whether a wire type is accepted by this key.
Parameters
- propertyType OfficeIMO.Email.MapiPropertyType
Returns
boolpublic ushort GetStandardPropertyId() #Returns the standard property identifier, or throws when this key identifies a named property.
Returns
ushortpublic bool Matches(MapiProperty property) #Returns whether a property has this key's canonical identity and an accepted wire type.
Parameters
- property OfficeIMO.Email.MapiProperty
Returns
boolpublic bool MatchesIdentity(MapiProperty property) #Returns whether a property has this key's canonical identity, without checking its wire type.
Parameters
- property OfficeIMO.Email.MapiProperty
Returns
boolpublic bool MatchesIdentity(ushort propertyId) #Returns whether a standard property identifier has this key's canonical identity.
Parameters
- propertyId ushort
Returns
boolpublic override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.Inherited Methods
Properties
public string CanonicalName { get; } #Microsoft canonical name or a stable application-defined name.
public ushort? 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 virtual Type ValueType { get; } #Managed value type exposed by a typed key.