Edit

Share via


ItemResponseShapeType Class

Definition

The ItemResponseShapeType class identifies a set of properties to return in a GetItem, FindItem, or SyncFolderItems response.

public ref class ItemResponseShapeType
public class ItemResponseShapeType
Public Class ItemResponseShapeType
Inheritance
ItemResponseShapeType

Examples

The following code example shows the ItemResponseShapeType set with the AllProperties shape in addition to the calendarIsMeeting and itemImportance properties.

// Define the item properties that are returned in the response.
ItemResponseShapeType itemProperties = new ItemResponseShapeType();
// Use the Default shape for the response.            
itemProperties.BaseShape = DefaultShapeNamesType.Default;
// Add more properties to the request.
PathToUnindexedFieldType addIsMeeting = new PathToUnindexedFieldType();
PathToUnindexedFieldType addImportance = new PathToUnindexedFieldType();
addIsMeeting.FieldURI = UnindexedFieldURIType.calendarIsMeeting;
addImportance.FieldURI = UnindexedFieldURIType.itemImportance;
itemProperties.AdditionalProperties = new PathToUnindexedFieldType[2];
itemProperties.AdditionalProperties[0] = addIsMeeting;
itemProperties.AdditionalProperties[1] = addImportance;
// Add the properties shape to the request.
findItemRequest.ItemShape = itemProperties;

Remarks

The ItemResponseShapeType class is only used for requests.

Constructors

ItemResponseShapeType()

The ItemResponseShapeType constructor initializes a new instance of the ItemResponseShapeType class.

Properties

AddBlankTargetToLinks
AddBlankTargetToLinksSpecified
AdditionalProperties

The AdditionalProperties property gets or sets a set of requested additional properties to return in a response.

BaseShape

The BaseShape property gets or sets the requested base properties to return in a response.

BlockExternalImages
BlockExternalImagesSpecified
BodyType

The BodyType property gets or sets the requested body text format for the Body property that is returned in a response.

BodyTypeSpecified

The BodyTypeSpecified property gets or sets a Boolean value that specifies whether the BodyType property is serialized into the SOAP request.

ConvertHtmlCodePageToUTF8
ConvertHtmlCodePageToUTF8Specified
FilterHtmlContent
FilterHtmlContentSpecified
IncludeMimeContent

The IncludeMimeContent property specifies whether the MIME content of an item or attachment is returned in the response.

IncludeMimeContentSpecified

The IncludeMimeContentSpecified property gets or sets a Boolean value that specifies whether the IncludeMimeContent property is serialized in the SOAP request.

InlineImageUrlTemplate
MaximumBodySize
MaximumBodySizeSpecified

Applies to