menu

UWP

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

    Show / Hide Table of Contents

    Class TypeExtension

    Inheritance
    System.Object
    TypeExtension
    Namespace: Syncfusion.OfficeChart.Implementation
    Assembly: Syncfusion.OfficeChart.UWP.dll
    Syntax
    public static class TypeExtension : Object

    Properties

    UnderlyingSystemType

    Declaration
    public static Type UnderlyingSystemType { get; }
    Property Value
    Type
    System.Type

    Methods

    GetCustomAttributes(PropertyInfo, Boolean)

    Declaration
    public static object[] GetCustomAttributes(this PropertyInfo property, bool inherit)
    Parameters
    Type Name Description
    System.Reflection.PropertyInfo property
    System.Boolean inherit
    Returns
    Type
    System.Object[]

    GetCustomAttributes(Type, Type, Boolean)

    Retrieves the collection of custome attribute of the specified type that are applied to a specific member, and optionally inspect the ancestors of that member.

    Declaration
    public static object[] GetCustomAttributes(this Type type, Type attributeType, bool inherit)
    Parameters
    Type Name Description
    System.Type type

    Type of the Property

    System.Type attributeType

    Type of the attribute to search for.

    System.Boolean inherit

    True to inspect the ancestor of that member otherwise false.

    Returns
    Type
    System.Object[]

    GetInterface(Type, String, Boolean)

    Declaration
    public static Type GetInterface(this Type type, string interfaceName, bool ignoreCase)
    Parameters
    Type Name Description
    System.Type type
    System.String interfaceName
    System.Boolean ignoreCase
    Returns
    Type
    System.Type

    GetProperties(Type)

    Declaration
    public static PropertyInfo[] GetProperties(this Type type)
    Parameters
    Type Name Description
    System.Type type
    Returns
    Type
    System.Reflection.PropertyInfo[]

    GetProperty(Type, String)

    Declaration
    public static PropertyInfo GetProperty(this Type type, string propertyName)
    Parameters
    Type Name Description
    System.Type type
    System.String propertyName
    Returns
    Type
    System.Reflection.PropertyInfo

    IsSubclassOf(Type, Type)

    Declaration
    public static bool IsSubclassOf(this Type type, Type parentType)
    Parameters
    Type Name Description
    System.Type type
    System.Type parentType
    Returns
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved