Share via


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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.Item(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