Click or drag to resize
Json.NET

IAttributeProviderGetAttributes Method (Boolean)

 
Returns a collection of all of the attributes, or an empty collection if there are no attributes.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
IList<Attribute> GetAttributes(
	bool inherit
)

Parameters

inherit
Type: SystemBoolean
When true, look up the hierarchy chain for the inherited custom attribute.

Return Value

Type: IListAttribute
A collection of Attributes, or an empty collection.
See Also