Dart Smtp, Pop, Imap Controls
Item Property
String or Long. Specifies a substring to search for or an index into the collection.
Description
Returns or sets a string in the collection.
Property type
Read-write property
Syntax
Visual Basic
Public Property Item( _
   ByRef Index As Variant _
) As String
Parameters
Index
String or Long. Specifies a substring to search for or an index into the collection.
Return Value
The string found in the collection or an empty string if none is found.
Remarks

When Index is a Long, its value must be between one and the collection's Count property. When specifying Index as a String, the first string in the collection matching all the characters of the substring is returned (strings are compared starting with the leftmost character, and are case-insensitive).

This is a parameterized property instead of a (read-only) method so that it can be used to set a value.

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

DartStrings Collection  | DartStrings Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic