SendGrid.Net.Mail.Attachment.Attachment C# (CSharp) Method

Attachment() public method

public Attachment ( string fileName, ContentType contentType ) : System
fileName string
contentType SendGrid.Net.Mime.ContentType
return System
        public Attachment(string fileName, ContentType contentType)
            : base(fileName, contentType)
        {
            InitName(fileName);
        }

Same methods

Attachment::Attachment ( Stream contentStream, ContentType contentType ) : System
Attachment::Attachment ( Stream contentStream, string name ) : System
Attachment::Attachment ( Stream contentStream, string name, string mediaType ) : System
Attachment::Attachment ( string fileName ) : System
Attachment::Attachment ( string fileName, string mediaType ) : System