EwsCategoryCollection Class
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
Represents collection of categories on an EWS item.
Syntax
public class EwsCategoryCollection : ICollection<string>, IEnumerable<string>, IEnumerable
Inherited Members
Constructors
Name | Description |
---|---|
EwsCategoryCollection() | Initializes new empty instance. |
EwsCategoryCollection(IEnumerable<String>) | Initializes new collection filled with provided categories. |
EwsCategoryCollection(String[]) | Initializes new collection filled with provided categories. |
Properties
Name | Description |
---|---|
Count | Gets the number of categories contained in this collection. |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Methods
Name | Description |
---|---|
Add(String) | Adds a category to this collection. |
AddRange(IEnumerable<String>) | Adds multiple categories to this collection. |
Clear() | Removes all categories from the collection. |
Contains(String) | Determines whether the category is in this collection. |
CopyTo(String[], Int32) | Copies the range of categories from the collection to a one-dimensional string array, starting at the specified index of the target array. |
GetEnumerator() | Gets an IEnumerator<string> for the collection. |
Remove(String) | Removes the specified category from this collection. |
Operators
Name | Description |
---|---|
Implicit(String to EwsCategoryCollection) | Converts a String to an EwsCategoryCollection. |
Implicit(String[] to EwsCategoryCollection) | Converts a String array to an EwsCategoryCollection. |
Explicit Interface Implementations
Name | Description |
---|---|
ICollection<String>.IsReadOnly | Gets a value indicating whether the collection is read-only. |
IEnumerable.GetEnumerator() | Returns an enumerator that can iterate through the collection. |