다음을 통해 공유


EmailAttachment 생성자

정의

오버로드

EmailAttachment(String)

파일 이름에서 첨부 파일을 Email.

EmailAttachment(FileBase)

기존 파일의 첨부 파일을 Email.

EmailAttachment(String, String)

파일의 MIME 형식(명시적 콘텐츠 형식)입니다.

EmailAttachment(String)

파일 이름에서 첨부 파일을 Email.

public EmailAttachment (string fullPath);

매개 변수

fullPath
System.String

파일의 전체 경로 및 파일 이름입니다.

적용 대상

EmailAttachment(FileBase)

기존 파일의 첨부 파일을 Email.

public EmailAttachment (Xamarin.Essentials.FileBase file);

매개 변수

file
FileBase

기존 파일.

적용 대상

EmailAttachment(String, String)

파일의 MIME 형식(명시적 콘텐츠 형식)입니다.

public EmailAttachment (string fullPath, string contentType);

매개 변수

fullPath
System.String

파일의 전체 경로 및 파일 이름입니다.

contentType
System.String

파일의 콘텐츠 형식(MIME 형식)(예: image/png)입니다.

적용 대상