Header Id ExtensionsTo Header Name Method
Converts the enum value into the equivalent header field name.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The header name.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static string ToHeaderName(
this HeaderId value
)Parameters
- value HeaderId
- The enum value.
Return Value
StringThe header name.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HeaderId. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
Converts the enum value into the equivalent header field name.