Attachment.NameEncoding Property

Specifies the encoding for the AttachmentName.

Namespace: System.Net.Mail
Assembly: System (in system.dll)

public:
property Encoding^ NameEncoding {
	Encoding^ get ();
	void set (Encoding^ value);
}
/** @property */
public Encoding get_NameEncoding ()

/** @property */
public void set_NameEncoding (Encoding value)

public function get NameEncoding () : Encoding

public function set NameEncoding (value : Encoding)

Not applicable.

Property Value

An Encoding value that specifies the type of name encoding. The default value is determined from the name of the attachment.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: