Otter SDK Reference
Version:

GetPersistentProperties(System.Type type, bool inspectInterfaces) Method

Inspects the specified type and, optionally, its interfaces, and returns properties with PersistentAttribute.

Syntax

public static IEnumerable<System.Reflection.PropertyInfo> GetPersistentProperties(System.Type type, bool inspectInterfaces)

Parameters

type
Type: System.Type

The type to inspect.

inspectInterfaces
Type: bool

Value indicating whether to inspect properties on interfaces as well.

Returns

Enumeration of persistent properties.