ItemType.ItemClass Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the message class of an item.
Namespace: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
Syntax
'Declaration
Public Property ItemClass As String
Get
Set
'Usage
Dim instance As ItemType
Dim value As String
value = instance.ItemClass
instance.ItemClass = value
public string ItemClass { get; set; }
public:
property String^ ItemClass {
String^ get ();
void set (String^ value);
}
member ItemClass : string with get, set
Property Value
Type: System.String
The message class of an item.
Remarks
A text value that is consistent with the item's type may be required. For example, if you are creating or updating a message, IPM.Note or another class that is consistent with a message is required. An empty value is not allowed. However, if you are creating or updating an item, an empty type is valid.
An error is returned if the ItemClass property is set to a value that is inconsistent with the item type. For example, a message's ItemClass cannot be set to the ItemClass value for a task.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5
See Also
Reference
Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace