Share via


CreateFolderType.Folders Property

The Folders property gets or sets a set of folders to create in an Exchange database. This property gets or sets a set of FolderType, CalendarFolderType, ContactsFolderType, SearchFolderType, or TasksFolderType objects. This property is required. This is a read/write property.

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

Syntax

'Declaration
<XmlArrayItemAttribute("TasksFolder", GetType(TasksFolderType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("CalendarFolder", GetType(CalendarFolderType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("ContactsFolder", GetType(ContactsFolderType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("Folder", GetType(FolderType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("SearchFolder", GetType(SearchFolderType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
Public Property Folders As BaseFolderType()
[XmlArrayItemAttribute("TasksFolder", typeof(TasksFolderType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("CalendarFolder", typeof(CalendarFolderType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("ContactsFolder", typeof(ContactsFolderType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("Folder", typeof(FolderType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("SearchFolder", typeof(SearchFolderType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public BaseFolderType[] Folders { get; set; }
[XmlArrayItemAttribute(L"TasksFolder", typeof(TasksFolderType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"CalendarFolder", typeof(CalendarFolderType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"ContactsFolder", typeof(ContactsFolderType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"Folder", typeof(FolderType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"SearchFolder", typeof(SearchFolderType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public:
property array<BaseFolderType^>^ Folders {
    array<BaseFolderType^>^ get ();
    void set (array<BaseFolderType^>^ value);
}
/** @property */
public BaseFolderType[] get_Folders ()

/** @property */
public void set_Folders (BaseFolderType[] value)
public function get Folders () : BaseFolderType[]

public function set Folders (value : BaseFolderType[])

Property Value

The Folders property returns a BaseFolderType array that contains all the folders to create.

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)