Edit

Share via


PropertySet Class

Definition

Represents a set of item or folder properties.

public ref class PropertySet sealed : System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^>
public sealed class PropertySet : System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase>
Public NotInheritable Class PropertySet
Implements IEnumerable(Of PropertyDefinitionBase)
Inheritance
PropertySet
Implements

Remarks

Property sets are used to indicate what properties of an item or folder should be loaded when binding to an existing item or folder or when loading an item or folder's properties.

Constructors

PropertySet()

Initializes a new instance of the PropertySet class based on the ID.

PropertySet(BasePropertySet)

Initializes a new instance of the PropertySet class based on the specified base property set.

PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>)

Initializes a new instance of the PropertySet class with the specified base property set and collection of additional properties.

PropertySet(BasePropertySet, PropertyDefinitionBase[])

Initializes a new instance of the PropertySet class with the specified base property set and additional properties.

PropertySet(IEnumerable<PropertyDefinitionBase>)

Initializes a new instance of the PropertySet class based on the ID and the specified collection of additional properties.

PropertySet(PropertyDefinitionBase[])

Initializes a new instance of the PropertySet class based on the ID and the specified additional properties.

Fields

FirstClassProperties

A predefined property set that includes the first-class properties of an item or folder.

IdOnly

A predefined property set that only includes the ID property.

Properties

AddBlankTargetToLinks

Gets or sets value indicating whether to add a blank target attribute to anchor links. The AddBlankTargetToLinks property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

BasePropertySet

Gets or sets the base property set that the property set is based on.

BlockExternalImages

Gets or sets value indicating whether to convert URLs that point to image files to inline images. The BlockExternalImages property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

ConvertHtmlCodePageToUTF8

Gets or sets a value that indicates whether the server should convert the HTML code page to UTF8 encoding.

Count

Gets the number of explicitly added properties in this set.

FilterHtmlContent

Gets or sets value that indicates whether to filter potentially unsafe HTML content from message bodies.

InlineImageUrlTemplate

Gets or sets the URL of the template to use for inline images. The InlineImageUrlTemplate property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Item[Int32]

Gets the item at the specified index. The Item[Int32] property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

MaximumBodySize

Gets or sets the maximum size of the body to be retrieved. The MaximumBodySize property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

RequestedBodyType

Gets or sets type of body that should be loaded on items.

RequestedNormalizedBodyType

Gets or sets type of body that should be loaded for the NormalizedBody property on items.

RequestedUniqueBodyType

Gets or sets type of body that should be loaded for the UniqueBody property on items.

Methods

Add(PropertyDefinitionBase)

Adds the specified property to the property set.

AddRange(IEnumerable<PropertyDefinitionBase>)

Adds the specified properties to the property set.

Clear()

Removes all explicitly added properties from the property set.

Contains(PropertyDefinitionBase)

Determines whether the specified property has been explicitly added to this property set by using the Add or AddRange methods.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Remove(PropertyDefinitionBase)

Removes the specified property from the set.

Operators

Implicit(BasePropertySet to PropertySet)

Implements an implicit conversion between the PropertySet class and the BasePropertySet class.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to