C# Class Sage.SData.Client.Framework.AttachedFile

Represents a file that's been attached to a request or response.
Afficher le fichier Open project: Saleslogix/SDataCSharpClientLib

Méthodes publiques

Méthode Description
AttachedFile ( MimePart part ) : System

Initializes a new instance of the AttachedFile class.

AttachedFile ( string contentType, string fileName, Stream stream ) : System

Initializes a new instance of the AttachedFile class.

Private Methods

Méthode Description
GetFileName ( ContentDisposition contentDisposition ) : string

Method Details

AttachedFile() public méthode

Initializes a new instance of the AttachedFile class.
public AttachedFile ( MimePart part ) : System
part MimePart A multipart MIME part containing the attached file.
Résultat System

AttachedFile() public méthode

Initializes a new instance of the AttachedFile class.
public AttachedFile ( string contentType, string fileName, Stream stream ) : System
contentType string The MIME content type of an attached file.
fileName string The file name of an attached file.
stream System.IO.Stream The object that points to the content of an attached file.
Résultat System