Class EmbedFileByte
Struct for storing byte[] of embedding file and its type
Inheritance
System.Object
EmbedFileByte
Assembly: IronPdf.dll
Syntax
public sealed class EmbedFileByte : ValueType, IEquatable<EmbedFileByte>
Constructors
EmbedFileByte(Byte[], EmbedFileType, String)
Struct for storing byte[] of embedding file and its type
Declaration
public EmbedFileByte(byte[] FileBytes, EmbedFileType FileType, string FileName = "untitled")
Parameters
Type |
Name |
Description |
System.Byte[] |
FileBytes |
byte[] of embedding file
|
EmbedFileType |
FileType |
type of embedding file
|
System.String |
FileName |
name of embedding file
|
Properties
FileBytes
Declaration
public byte[] FileBytes { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
FileName
Declaration
public string FileName { get; set; }
Property Value
Type |
Description |
System.String |
|
FileType
Declaration
public EmbedFileType FileType { get; set; }
Property Value
Methods
Deconstruct(out Byte[], out EmbedFileType, out String)
Declaration
public void Deconstruct(out byte[] FileBytes, out EmbedFileType FileType, out string FileName)
Parameters
Type |
Name |
Description |
System.Byte[] |
FileBytes |
|
EmbedFileType |
FileType |
|
System.String |
FileName |
|
Equals(EmbedFileByte)
Declaration
public bool Equals(EmbedFileByte other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Equality(EmbedFileByte, EmbedFileByte)
Declaration
public static bool operator ==(EmbedFileByte left, EmbedFileByte right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(EmbedFileByte, EmbedFileByte)
Declaration
public static bool operator !=(EmbedFileByte left, EmbedFileByte right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<>