PathToExtendedFieldType.PropertyTag Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PropertyTag property gets or sets the property tag without the type part of the tag.
public:
property System::String ^ PropertyTag { System::String ^ get(); void set(System::String ^ value); };
public string PropertyTag { get; set; }
Public Property PropertyTag As String
Property Value
The PropertyTag property returns a string representation of a property tag without the type part of the tag.
Remarks
The PropertyTag property can be represented as either a hexadecimal or a short integer.
The range between 0x8000 and 0xFFFE represents the custom range of properties. When a mailbox database encounters a custom property for the first time, it assigns that custom property a property tag within the custom property range of 0x8000-0xFFFE. A given custom property tag will most likely differ across databases. Therefore, a custom property request by property tag can return different properties on different databases. The use of the PropertyTag property is prohibited for custom properties. Instead, use the PropertySetId property and the PropertyName or PropertyId property.
Important: Access any custom property between 0x8000 and 0xFFFE by using the GUID + name/ID.
If the PropertyTag property is used, the DistinguishedPropertySetId, PropertySetId, PropertyName, and PropertyId properties cannot be used.
Note: You cannot use a property tag for properties within the custom range 0x8000-0xFFFE. You must use a named property in this case.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for