PowerTCP Mail for .NET
Item(String) Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > ImapMessageCollection Class > Item Property : Item(String) Property




uid
The message uid to search for.
Gets the element with the matching UID.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable ReadOnly Property Item( _
   ByVal uid As String _
) As ImapMessage
Visual Basic (Usage)Copy Code
Dim instance As ImapMessageCollection
Dim uid As String
Dim value As ImapMessage
 
value = instance.Item(uid)
C# 
public virtual ImapMessage Item( 
   string uid
) {get;}
Managed Extensions for C++ 
public: __property virtual ImapMessage* get_Item( 
   string* uid
);
C++/CLI 
public:
virtual property ImapMessage^ Item {
   ImapMessage^ get(String^uid);
}

Parameters

uid
The message uid to search for.

Property Value

If a message matching the uid is found, this method returns the ImapMessage object representing that message; null otherwise.

Remarks

This method performs a linear search, returning the ImapMessage with the MessageBase.Uid equal to uid.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.