menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyInfoExtensions - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PropertyInfoExtensions

    Class that provides the extension methods for the property info.

    Inheritance
    System.Object
    PropertyInfoExtensions
    Namespace: Syncfusion.DataSource
    Assembly: Syncfusion.DataSource.Portable.dll
    Syntax
    public static class PropertyInfoExtensions : Object

    Methods

    GetComplexPropertyValue(String[], PropertyInfoCollection, Object)

    Return the value of the given record and complex property column.

    Declaration
    public static object GetComplexPropertyValue(string[] propertyNameList, PropertyInfoCollection tempItemProperties, object record)
    Parameters
    Type Name Description
    System.String[] propertyNameList

    Represents the list of property names.

    PropertyInfoCollection tempItemProperties

    Represents the property information.

    System.Object record

    Represents the record items.

    Returns
    Type Description
    System.Object

    Returns the record items.

    GetPropertyDescriptor(PropertyInfoCollection, String)

    Generate the Property Descriptor for corresponding Property it may be simple or complex property

    Declaration
    public static PropertyInfo GetPropertyDescriptor(this PropertyInfoCollection propertyInfoCollection, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    Represents the property collection info.

    System.String columnName

    Represents the column name.

    Returns
    Type Description
    System.Reflection.PropertyInfo

    Returns the attributes of the property.

    GetPropertyInfo(PropertyInfoCollection, String)

    Gets the property info from the given property info collection and the column name.

    Declaration
    public static PropertyInfo GetPropertyInfo(this PropertyInfoCollection propertyInfoCollection, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    The property info collection.

    System.String columnName

    The column name whose property info is to be obtained.

    Returns
    Type Description
    System.Reflection.PropertyInfo

    The property info of the given property info collection and the column name.

    GetValue(PropertyInfoCollection, Object, String)

    Gets the value for the given property info collection, column name and the record.

    Declaration
    public static object GetValue(this PropertyInfoCollection propertyInfoCollection, object record, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    The property info collection.

    System.Object record

    The object whose corresponding value is to be obtained.

    System.String columnName

    The column name for which the value is to be obtained.

    Returns
    Type Description
    System.Object

    The value for the given property info collection, column name and the record.

    GetValue(PropertyInfo, Object)

    Gets the value for the given property info and the record.

    Declaration
    public static object GetValue(this PropertyInfo propertyInfo, object record)
    Parameters
    Type Name Description
    System.Reflection.PropertyInfo propertyInfo

    The property info whose value is to be determined.

    System.Object record

    The object whose corresponding value for the given property is to be obtained.

    Returns
    Type Description
    System.Object

    The value for the given property info and the record.

    IsIndexerProperty(ref String, ref String)

    Determines whether the given property is the indexer property.

    Declaration
    public static bool IsIndexerProperty(ref string propertyName, ref string indexerValue)
    Parameters
    Type Name Description
    System.String propertyName

    The property name which is to be determined whether it is the indexer property.

    System.String indexerValue

    The indexer value of the given property.

    Returns
    Type Description
    System.Boolean

    True if the given property contains indexer, otherwise false.

    SetComplexPropertyValue(String[], PropertyInfoCollection, Object, Object)

    Set the value to complex property column with the given record.

    Declaration
    public static bool SetComplexPropertyValue(string[] propertyNameList, PropertyInfoCollection tempItemProperties, object record, object value)
    Parameters
    Type Name Description
    System.String[] propertyNameList

    Represents the list of property names.

    PropertyInfoCollection tempItemProperties

    Represents the item properties.

    System.Object record

    Represents the record.

    System.Object value

    Represents the value.

    Returns
    Type Description
    System.Boolean

    Returns the boolean value.

    SetValue(PropertyInfoCollection, Object, Object, String)

    Sets the value for the corresponding object available in the PropertyDescriptorCollection

    Declaration
    public static bool SetValue(this PropertyInfoCollection propertyInfoCollection, object record, object value, string columnName)
    Parameters
    Type Name Description
    PropertyInfoCollection propertyInfoCollection

    Represents the item properties.

    System.Object record

    Represents the record.

    System.Object value

    Represents the value.

    System.String columnName

    Represents the column name.

    Returns
    Type Description
    System.Boolean

    Returns the boolean value.

    SetValue(PropertyInfo, Object, Object)

    Sets the value for the corresponding object available in the PropertyInfo.

    Declaration
    public static void SetValue(this PropertyInfo propertyInfo, object record, object value)
    Parameters
    Type Name Description
    System.Reflection.PropertyInfo propertyInfo

    Represents the property info.

    System.Object record

    Represents the record.

    System.Object value

    Represents the value.

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