| 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.This method performs a linear search, returning the ImapMessage with the MessageBase.Uid equal to uid.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code