menu

UWP

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

    Show / Hide Table of Contents

    Class Extension

    Inheritance
    System.Object
    Extension
    Namespace: Syncfusion.DocIO.WinrtHelper
    Assembly: Syncfusion.DocIO.UWP.dll
    Syntax
    public static class Extension : Object

    Methods

    FromOADate(Double)

    Returns a DateTime equivalent to the specified OLE Automation Date.

    Declaration
    public static DateTime FromOADate(double doubleOLEValue)
    Parameters
    Type Name Description
    System.Double doubleOLEValue

    An OLE Automation Date value.

    Returns
    Type Description
    System.DateTime

    An object that represents the same date and time as d.

    IsInstanceOfType(Type, Entity)

    Determines whether the specified object is an instance of the current System.Type.

    Declaration
    public static bool IsInstanceOfType(this Type type, Entity ent)
    Parameters
    Type Name Description
    System.Type type
    Entity ent

    The entity to compare with the current Type.

    Returns
    Type Description
    System.Boolean

    true if the current Type is in the inheritance hierarchy of the entity represented by ent, or if the current Type is an interface that e supports otherwise false.

    ToOADate(DateTime)

    Converts the value of this instance to the equivalent OLE Automation date.

    Declaration
    public static double ToOADate(this DateTime inDateTime)
    Parameters
    Type Name Description
    System.DateTime inDateTime
    Returns
    Type Description
    System.Double

    A double-precision floating-point number that contains an OLE Automation date equivalent to the value of this instance.

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