menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ComEnumFORMATETC - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ComEnumFORMATETC

    Class thet represents the enum formatec class.

    Inheritance
    System.Object
    ComEnumFORMATETC
    Namespace: Syncfusion.CompoundFile.XlsIO.Native
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public class ComEnumFORMATETC : List<object>, IComEnumFORMATETC

    Constructors

    ComEnumFORMATETC()

    Declaration
    public ComEnumFORMATETC()

    Methods

    Clone(ref IComEnumFORMATETC)

    Creates another connection point enumerator with the same state as the current enumerator to iterate over the same list.

    Declaration
    public uint Clone(ref IComEnumFORMATETC ppenum)
    Parameters
    Type Name Description
    Syncfusion.CompoundFile.XlsIO.Native.IComEnumFORMATETC ppenum

    Pointer to the returned IComEnumFORMATETC interface.

    Returns
    Type Description
    System.UInt32

    This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED.

    RemoteNext(UInt32, ref FORMATETC, ref UInt32)

    The RemoteNext method retrieves a specified number of HRESULT structures.

    Declaration
    public uint RemoteNext(uint celt, ref FORMATETC rgelt, ref uint pceltFetched)
    Parameters
    Type Name Description
    System.UInt32 celt

    The number of STATSTG structures requested.

    FORMATETC rgelt

    An array of STATSTG structures returned.

    System.UInt32 pceltFetched

    The number of STATSTG structures retrieved in the rgelt parameter.

    Returns
    Type Description
    System.UInt32

    S_OK - The number of STATSTG structures returned equals the number specified in the celt parameter. Otherwise - error code.

    Reset()

    Resets the enumeration sequence to the beginning.

    Declaration
    public uint Reset()
    Returns
    Type Description
    System.UInt32

    S_OK

    Skip(UInt32)

    Instructs the enumerator to skip the next celt elements in the enumeration so that the next call to IEnumConnectionPoints::Next will not return those elements.

    Declaration
    public uint Skip(uint celt)
    Parameters
    Type Name Description
    System.UInt32 celt

    Number of elements to be skipped.

    Returns
    Type Description
    System.UInt32

    S_OK if the number of elements skipped is celt; otherwise, S_FALSE.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved