SPEmailHeaderCollection.Item property

Gets the e-mail message header that has the specified name.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As String
    Get
'Usage
Dim instance As SPEmailHeaderCollection
Dim name As String
Dim value As String

value = instance(name)
public string this[
    string name
] { get; }

Parameters

  • name
    Type: System.String

    A string that contains the name of the message header.

Property value

Type: System.String
A string that contains the message header.

See also

Reference

SPEmailHeaderCollection class

SPEmailHeaderCollection members

Microsoft.SharePoint.Utilities namespace