Search Results for

    Show / Hide Table of Contents

    Class IngestUploadItem

    Designates an item to be uploaded to an ingest container

    Inheritance
    object
    IngestUploadItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    public class IngestUploadItem

    Constructors

    IngestUploadItem(string, Func<Stream>, bool)

    Designates an item to be uploaded to an ingest container

    Declaration
    public IngestUploadItem(string fileName, Func<Stream> openStream, bool leaveStreamOpen = false)
    Parameters
    string fileName

    FileName to assign to the file upon import

    Func<Stream> openStream

    Function to create read stream

    bool leaveStreamOpen

    If true, stream will not be disposed after upload

    Properties

    FileName

    FileName to assign to the file upon import

    Declaration
    public string FileName { get; }
    Property Value
    string

    LeaveStreamOpen

    If true, stream will not be disposed after upload

    Declaration
    public bool LeaveStreamOpen { get; }
    Property Value
    bool

    OpenStream

    Function to create read stream

    Declaration
    public Func<Stream> OpenStream { get; }
    Property Value
    Func<Stream>

    Methods

    Deconstruct(out string, out Func<Stream>, out bool)

    Declaration
    public void Deconstruct(out string fileName, out Func<Stream> openStream, out bool leaveStreamOpen)
    Parameters
    string fileName

    Func<Stream> openStream

    bool leaveStreamOpen

    Back to top Generated by DocFX