DataConnector | ComponentOne
C1.DataConnector Assembly / C1.DataConnector Namespace / SharedUtils Class / GetPropertiesWithHierarchy<T> Method
Type of the object.
Name of the connection string property on value change.
Instance of the object.

In This Topic
    GetPropertiesWithHierarchy<T> Method
    In This Topic
    Retrieves properties with hierarchy attributes based on a connection string property selected and object instance of class.
    Syntax
    'Declaration
     
    Public Shared Function GetPropertiesWithHierarchy(Of T)( _
       ByVal modifiedPropertyName As String, _
       ByVal instance As T _
    ) As List(Of String)
    public static List<string> GetPropertiesWithHierarchy<T>( 
       string modifiedPropertyName,
       T instance
    )

    Parameters

    modifiedPropertyName
    Name of the connection string property on value change.
    instance
    Instance of the object.

    Type Parameters

    T
    Type of the object.

    Return Value

    List of properties with hierarchy attributes.
    See Also