Share via


SubscribeType.Item Property

The Item property gets or sets the subscription type. This property gets or sets either a PullSubscriptionRequestType or PushSubscriptionRequestType object. This property is required. This is a read/write property.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
Public Property Item As Object
    Get
    Set
'Usage
Dim instance As SubscribeType
Dim value As Object

value = instance.Item

instance.Item = value
public Object Item { get; set; }

Property Value

Type: System.Object
The Item property returns a BaseSubscriptionRequestType object that represents the subscription type.

Remarks

The Item property can be set with either a PullSubscriptionRequestType or PushSubscriptionRequestType object. Both types extend BaseSubscriptionRequestType, which is an abstract class. For more information about why this property is set with these objects, see XML Schema Choice Element Proxy Artifacts.