menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ISource - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ISource

    Provides the functionality for data window that contains source of data.

    Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public interface ISource

    Properties

    Length

    Gets the length of data in source.

    Declaration
    long Length { get; }
    Property Value
    Type
    System.Int64

    Methods

    GetData(Int64, Byte[], Int32, Int32)

    Gets the data and writes it to array.

    Declaration
    int GetData(long position, byte[] data, int offset, int count)
    Parameters
    Type Name Description
    System.Int64 position

    Position of data in the source.

    System.Byte[] data

    Array, where data will be written.

    System.Int32 offset

    Offset in array.

    System.Int32 count

    Size of data that have to be read.

    Returns
    Type Description
    System.Int32

    Count of actually read bytes.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved