PropertySet PropertySet 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
PropertySetPropertySetPropertySet
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() PropertySet() PropertySet()

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

PropertySet(BasePropertySet) PropertySet(BasePropertySet) PropertySet(BasePropertySet)

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

PropertySet(PropertyDefinitionBase[]) PropertySet(PropertyDefinitionBase[]) PropertySet(PropertyDefinitionBase[])

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

PropertySet(IEnumerable<PropertyDefinitionBase>) PropertySet(IEnumerable<PropertyDefinitionBase>) PropertySet(IEnumerable<PropertyDefinitionBase>)

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

PropertySet(BasePropertySet, PropertyDefinitionBase[]) PropertySet(BasePropertySet, PropertyDefinitionBase[]) PropertySet(BasePropertySet, PropertyDefinitionBase[])

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

PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>) PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>) PropertySet(BasePropertySet, IEnumerable<PropertyDefinitionBase>)

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

Fields

FirstClassProperties FirstClassProperties FirstClassProperties

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

IdOnly IdOnly IdOnly

A predefined property set that only includes the ID property.

Properties

AddBlankTargetToLinks AddBlankTargetToLinks 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 BasePropertySet BasePropertySet

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

BlockExternalImages BlockExternalImages 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 ConvertHtmlCodePageToUTF8 ConvertHtmlCodePageToUTF8

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

Count Count Count

Gets the number of explicitly added properties in this set.

FilterHtmlContent FilterHtmlContent FilterHtmlContent

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

InlineImageUrlTemplate InlineImageUrlTemplate 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] Item[Int32] 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 MaximumBodySize 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 RequestedBodyType RequestedBodyType

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

RequestedNormalizedBodyType RequestedNormalizedBodyType RequestedNormalizedBodyType

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

RequestedUniqueBodyType RequestedUniqueBodyType RequestedUniqueBodyType

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

Methods

Add(PropertyDefinitionBase) Add(PropertyDefinitionBase) Add(PropertyDefinitionBase)

Adds the specified property to the property set.

AddRange(IEnumerable<PropertyDefinitionBase>) AddRange(IEnumerable<PropertyDefinitionBase>) AddRange(IEnumerable<PropertyDefinitionBase>)

Adds the specified properties to the property set.

Clear() Clear() Clear()

Removes all explicitly added properties from the property set.

Contains(PropertyDefinitionBase) Contains(PropertyDefinitionBase) Contains(PropertyDefinitionBase)

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

GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

Remove(PropertyDefinitionBase) Remove(PropertyDefinitionBase) Remove(PropertyDefinitionBase)

Removes the specified property from the set.

Operators

Implicit(BasePropertySet to PropertySet) Implicit(BasePropertySet to PropertySet) Implicit(BasePropertySet to PropertySet)

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

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() 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