alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TypeExtension

    Inheritance
    object
    TypeExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.OfficeChart.Implementation
    Assembly: Syncfusion.OfficeChart.NET.dll
    Syntax
    public static class TypeExtension

    Properties

    UnderlyingSystemType

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

    Methods

    GetConstructor(Type, Type[])

    Searches for a public instance constructor whose parameters match the types in the specified array.

    Declaration
    public static ConstructorInfo GetConstructor(this Type type, Type[] types)
    Parameters
    Type Name Description
    Type type

    Represents the property type.

    Type[] types

    An array of Type objects representing the number, order, and type of the parameters for the desired constructor.

    Returns
    Type Description
    ConstructorInfo

    An object representing the public instance constructor whose parameters match the types in the parameter type array, if found; otherwise, null.

    GetCustomAttributes(PropertyInfo, bool)

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

    GetCustomAttributes(Type, Type, bool)

    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
    Type type

    Type of the Property

    Type attributeType

    Type of the attribute to search for.

    bool inherit

    True to inspect the ancestor of that member otherwise false.

    Returns
    Type
    object[]

    GetInterface(Type, string, bool)

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

    GetProperties(Type)

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

    GetProperty(Type, string)

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

    IsSubclassOf(Type, Type)

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