Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgPropertyCollection Class

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll

Represents a collection of properties of the Outlook .MSG message or attachment.

Syntax
public class MsgPropertyCollection : ICollection<MsgProperty>, IEnumerable<MsgProperty>, IEnumerable
Inheritance
Object
MsgPropertyCollection
Implements
ICollection<MsgProperty>
IEnumerable<MsgProperty>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Count

Gets the number of elements.

Item[MsgPropertyId]

Gets a property with specified LID or null reference (Nothing in Visual Basic) if not found.

Item[MsgPropertyTag]

Gets a property with specified Tag or null reference (Nothing in Visual Basic) if not found.

Item[Int32]

Gets a property at the specified index.

Item[String]

Gets a property with specified name or null reference (Nothing in Visual Basic) if not found.

Methods

Name Description
Clear()

Clears the collection.

Contains(MsgProperty)

Gets a value indicating whether the specified property is in the collection.

CopyTo(MsgProperty[], Int32)

Copies the entire collection to an array, starting at the specified index of the target array.

GetEnumerator()

Gets an IEnumerator to iterate through the collection.

GetValue<T>(MsgPropertyId)

Gets the value of a Numerical named property specified by the property LID.

GetValue<T>(MsgPropertyId, T)

Gets the value of a Numerical named property specified by the property LID.

GetValue<T>(MsgPropertyTag)

Gets the value of a property specified by the property Tag.

GetValue<T>(MsgPropertyTag, T)

Gets the value of a property specified by the property Tag.

GetValue<T>(String)

Gets the value of a String named property specified by the property Name.

GetValue<T>(String, T)

Gets the value of a String named property specified by the property Name.

Remove(MsgProperty)

Removes specified property from the collection.

SetValue<T>(MsgPropertyId, MsgPropertySet, T)

Sets the value of a Numerical named property specified by the property LID.

SetValue<T>(MsgPropertyTag, T)

Sets the value of a property specified by the property Tag.

TryGetValue<T>(MsgPropertyTag, out T)

Gets the value of a property specified by the property Tag.

Explicit Interface Implementations

Name Description
ICollection<MsgProperty>.Add(MsgProperty)

Adds a property to the collection.

ICollection<MsgProperty>.IsReadOnly

Returns false.

IEnumerable.GetEnumerator()

Gets an IEnumerator to iterate through the collection.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies