Class TypeExtension
Inheritance
System.Object
TypeExtension
Namespace: Syncfusion.OfficeChart.Implementation
Assembly: Syncfusion.OfficeChart.Portable.dll
Syntax
public static class TypeExtension : Object
Methods
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 | Description |
---|---|
System.Object[] |