Interface IMIMEAttributesCollection
collection to store attributes
Inherited Members
System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ICollection.Count
System.Collections.ICollection.IsSynchronized
System.Collections.ICollection.SyncRoot
System.Collections.IEnumerable.GetEnumerator()
Namespace: Syncfusion.MIME
Assembly: Syncfusion.MIME.Base.dll
Syntax
public interface IMIMEAttributesCollection : ICollection, IEnumerable, IMIMESerialization
Properties
IsExtended
tag to define if current attribute is user-defined.
Declaration
bool IsExtended { get; set; }
Property Value
Type |
---|
System.Boolean |
Item[Int32]
Indexator wich allow access to attribute by index.
Declaration
IMIMEHeaderSubTypesAttribute this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
IMIMEHeaderSubTypesAttribute |
Item[String]
Indexator, wich allow access to attribute by name.
Declaration
IMIMEHeaderSubTypesAttribute this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type |
---|
IMIMEHeaderSubTypesAttribute |
Methods
Add(IMIMEHeaderAttribute)
adding part to collection.
Declaration
void Add(IMIMEHeaderAttribute value)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeaderAttribute | value | attribute to add. |
Clear()
removes all attributes
Declaration
void Clear()
Contains(IMIMEHeaderAttribute)
to check if collection contains specified attribute.
Declaration
bool Contains(IMIMEHeaderAttribute value)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeaderAttribute | value | attribute to check |
Returns
Type | Description |
---|---|
System.Boolean | contains collection item or not. |
Remove(IMIMEHeaderAttribute)
remove specified attribute.
Declaration
void Remove(IMIMEHeaderAttribute value)
Parameters
Type | Name | Description |
---|---|---|
IMIMEHeaderAttribute | value | attribute to remove. |