Partager via


FindItemType.Item1 Property

The Item1 property gets or sets the grouping type that describes how the query result set is grouped in the response. This property gets or sets either a GroupByType or DistinguishedGroupByType object. This property is optional. This is a read/write property.

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

Syntax

'Declaration
<XmlElementAttribute("DistinguishedGroupBy", GetType(DistinguishedGroupByType))> _
<XmlElementAttribute("GroupBy", GetType(GroupByType))> _
Public Property Item1 As BaseGroupByType
[XmlElementAttribute("DistinguishedGroupBy", typeof(DistinguishedGroupByType))] 
[XmlElementAttribute("GroupBy", typeof(GroupByType))] 
public BaseGroupByType Item1 { get; set; }
[XmlElementAttribute(L"DistinguishedGroupBy", typeof(DistinguishedGroupByType))] 
[XmlElementAttribute(L"GroupBy", typeof(GroupByType))] 
public:
property BaseGroupByType^ Item1 {
    BaseGroupByType^ get ();
    void set (BaseGroupByType^ value);
}
/** @property */
public BaseGroupByType get_Item1 ()

/** @property */
public void set_Item1 (BaseGroupByType value)
public function get Item1 () : BaseGroupByType

public function set Item1 (value : BaseGroupByType)

Property Value

The Item1 property returns a BaseGroupByType object that represents the type of grouping scheme that is applied to the result set.

Remarks

The Item1 property can be set with either a GroupByType or DistinguishedGroupByType object. Both types extend BaseGroupByType, which is an abstract class. This property is optional. If this property is not set, the result set will not be grouped.

Note

Some properties cannot be used to form the group definitions.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)