Class FileContentPart
Inheritance
object
FileContentPart
Assembly: .dll
Syntax
public class FileContentPart : ContentPart
Properties
File
Declaration
public FileRef File { get; set; }
Property Value
Methods
FromBase64(string, MIMEType)
Declaration
public static FileBase64ContentPart FromBase64(string base64File, MIMEType mimeType)
Parameters
Type |
Name |
Description |
string |
base64File |
|
MIMEType |
mimeType |
|
Returns
FromBase64(string, string)
Declaration
public static FileBase64ContentPart FromBase64(string base64File, string filename)
Parameters
Type |
Name |
Description |
string |
base64File |
|
string |
filename |
|
Returns
FromId(string)
Declaration
public static FileBase64ContentPart FromId(string fileId)
Parameters
Type |
Name |
Description |
string |
fileId |
|
Returns
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object.
|
Overrides
object.ToString()