DotNetOpenMail 0.5.7 (beta)

MessageHeaderCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a value in the MessageHeaderCollection or in a portion of it.

[Visual Basic]
Public Function IndexOf( _ 
   ByVal value As MessageHeader _ 
) As Integer
public int IndexOf(
   MessageHeader value
public: int IndexOf(
   MessageHeader* value
public function IndexOf(
   MessageHeader value
): int;


The Object to locate in the MessageHeaderCollection. The value can be a null reference (Nothing in Visual Basic).

Return Value

See Also

MessageHeaderCollection Class | DotNetOpenMail Namespace