FindItemType.ParentFolderIds Property

The ParentFolderIds property gets or sets the folders that the FindItem operation searches. This property is required. This is a read/write property.

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

Syntax

'Declaration
<XmlArrayItemAttribute("DistinguishedFolderId", GetType(DistinguishedFolderIdType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("FolderId", GetType(FolderIdType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
Public Property ParentFolderIds As BaseFolderIdType()
[XmlArrayItemAttribute("DistinguishedFolderId", typeof(DistinguishedFolderIdType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("FolderId", typeof(FolderIdType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public BaseFolderIdType[] ParentFolderIds { get; set; }
[XmlArrayItemAttribute(L"DistinguishedFolderId", typeof(DistinguishedFolderIdType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"FolderId", typeof(FolderIdType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public:
property array<BaseFolderIdType^>^ ParentFolderIds {
    array<BaseFolderIdType^>^ get ();
    void set (array<BaseFolderIdType^>^ value);
}
/** @property */
public BaseFolderIdType[] get_ParentFolderIds ()

/** @property */
public void set_ParentFolderIds (BaseFolderIdType[] value)
public function get ParentFolderIds () : BaseFolderIdType[]

public function set ParentFolderIds (value : BaseFolderIdType[])

Property Value

The ParentFolderIds property returns an array of BaseFolderIdType objects that contains the identifiers of all folders for the FindItem operation to search.

Remarks

The ParentFolderIds property can be set with arrays of either FolderIdType or DistinguishedFolderIdType objects. Both types extend BaseFolderIdType, which is an abstract class.

This property is required and must be set for FindItem operations.

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)